Skip to content

Commit

Permalink
Adjusts write methods
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagodeev committed Sep 27, 2024
1 parent bd22c59 commit 0325e5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpc/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func (provider *Provider) AddInvokeTransaction(ctx context.Context, invokeTxn Br
return nil, tryUnwrapToRPCErr(
err,
ErrInsufficientAccountBalance,
ErrInsufficientMaxFee,
ErrInsufficientResourcesForValidate,
ErrInvalidTransactionNonce,
ErrValidationFailure,
ErrNonAccount,
Expand Down Expand Up @@ -47,7 +47,7 @@ func (provider *Provider) AddDeclareTransaction(ctx context.Context, declareTran
ErrCompilationFailed,
ErrCompiledClassHashMismatch,
ErrInsufficientAccountBalance,
ErrInsufficientMaxFee,
ErrInsufficientResourcesForValidate,
ErrInvalidTransactionNonce,
ErrValidationFailure,
ErrNonAccount,
Expand All @@ -73,7 +73,7 @@ func (provider *Provider) AddDeployAccountTransaction(ctx context.Context, deplo
return nil, tryUnwrapToRPCErr(
err,
ErrInsufficientAccountBalance,
ErrInsufficientMaxFee,
ErrInsufficientResourcesForValidate,
ErrInvalidTransactionNonce,
ErrValidationFailure,
ErrNonAccount,
Expand Down

0 comments on commit 0325e5c

Please sign in to comment.