mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Add missing error handling
This commit is contained in:
@@ -30,6 +30,9 @@ var (
|
||||
ErrReceiptStatusFailed = fmt.Errorf("receipt status is failed")
|
||||
// ErrReceiptNotReceived is used when unable to retrieve a transaction
|
||||
ErrReceiptNotReceived = fmt.Errorf("receipt not available")
|
||||
// ErrBlockHashMismatchEvent is used when there's a block hash mismatch
|
||||
// beetween different events of the same block
|
||||
ErrBlockHashMismatchEvent = fmt.Errorf("block hash mismatch in event log")
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user