Skip to content

Commit

Permalink
Merge pull request #448 from multiversx/fix_invalid_address_errors
Browse files Browse the repository at this point in the history
Fix invalid address errors
  • Loading branch information
sstanculeanu authored Aug 20, 2024
2 parents b06b627 + 05fcff7 commit c84db03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@ var ErrInvalidSignatureHex = errors.New("invalid signature, could not decode hex
var ErrInvalidGuardianSignatureHex = errors.New("invalid guardian signature, could not decode hex value")

// ErrInvalidGuardianAddress signals a wrong format for receiver address was provided
var ErrInvalidGuardianAddress = errors.New("invalid hex receiver address provided")
var ErrInvalidGuardianAddress = errors.New("invalid guardian address")

// ErrTxGenerationFailed signals an error generating a transaction
var ErrTxGenerationFailed = errors.New("transaction generation failed")

// ErrInvalidSenderAddress signals a wrong format for sender address was provided
var ErrInvalidSenderAddress = errors.New("invalid hex sender address provided")
var ErrInvalidSenderAddress = errors.New("invalid sender address")

// ErrInvalidReceiverAddress signals a wrong format for receiver address was provided
var ErrInvalidReceiverAddress = errors.New("invalid hex receiver address provided")
var ErrInvalidReceiverAddress = errors.New("invalid receiver address")

// ErrTransactionNotFound signals that a transaction was not found
var ErrTransactionNotFound = errors.New("transaction not found")
Expand Down

0 comments on commit c84db03

Please sign in to comment.