Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rohenaz committed Feb 7, 2023
1 parent 31b66da commit 2bc6e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magic.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ func (m MAP) delete(cells []bpu.Cell) {
func (m MAP) selecter(cells []bpu.Cell) {

if len(cells) < 5 {
fmt.Errorf("missing required parameters in MAP SELECT statement - cell length: %d", len(cells))
fmt.Printf("missing required parameters in MAP SELECT statement - cell length: %d", len(cells))
}
if cells[2].S == nil || len(*cells[2].S) != 64 {
fmt.Errorf("syntax error - invalid Txid in SELECT command: %d", len(cells))
fmt.Printf("syntax error - invalid Txid in SELECT command: %d", len(cells))
}
m[TxID] = *cells[2].S
m[SelectCmd] = *cells[3].S
Expand Down

0 comments on commit 2bc6e78

Please sign in to comment.