Skip to content

Commit

Permalink
fix: error return
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed Sep 17, 2024
1 parent 4a7e71a commit d1fc8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sequencesender/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (s *SequenceSender) getBatchFromRPC(batchNumber uint64) (*rpcbatch.RPCBatch

// Check if the response is an error
if response.Error != nil {
return nil, fmt.Errorf("error in the response calling zkevm_getBatchByNumber: %w", response.Error)
return nil, fmt.Errorf("error in the response calling zkevm_getBatchByNumber: %v", response.Error)
}

// Get the batch number from the response hex string
Expand Down

0 comments on commit d1fc8f2

Please sign in to comment.