Skip to content

Commit

Permalink
remove error message padding
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Oct 29, 2024
1 parent 2fe011a commit e17e699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/rpcHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ export class RpcHandler implements IRpcEndpoint {
getAAError(errorReason)
)
throw new RpcError(
`UserOperation reverted during simulation with reason: ${errorReason}`,
errorReason,
ValidationErrors.InvalidFields
)
}
Expand Down

0 comments on commit e17e699

Please sign in to comment.