Skip to content

Commit

Permalink
fix linting issues for golangci
Browse files Browse the repository at this point in the history
  • Loading branch information
AryanGodara committed May 13, 2024
1 parent 12ccfda commit 10e618a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpc/types_block_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,15 +267,15 @@ func unmarshalBlockTxn(t interface{}) (BlockTransaction, error) {
case TransactionType_Invoke:
if casted["version"].(string) == "0x0" {
var txn BlockInvokeTxnV0
remarshal(casted, &txn)
_ = remarshal(casted, &txn)
return txn, nil
} else if casted["version"].(string) == "0x1" {
var txn BlockInvokeTxnV1
remarshal(casted, &txn)
_ = remarshal(casted, &txn)
return txn, nil
} else {
var txn BlockInvokeTxnV3
remarshal(casted, &txn)
_ = remarshal(casted, &txn)
return txn, nil
}
case TransactionType_L1Handler:
Expand Down

0 comments on commit 10e618a

Please sign in to comment.