Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm committed Jan 9, 2024
1 parent b3c19d7 commit 39dc9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func NewInteropEndpoints(

func (i *InteropEndpoints) SendTx(signedTx tx.SignedTx) (interface{}, rpctypes.Error) {
// Check if the RPC is actually registered, if not it won't be possible to assert soundness (in the future once we are stateless won't be needed)
if err := i.executor.CheckTx(i.ctx, signedTx); err != nil {
if err := i.executor.CheckTx(signedTx); err != nil {
return "0x0", rpctypes.NewRPCError(rpctypes.DefaultErrorCode, fmt.Sprintf("there is no RPC registered for %s", signedTx.Tx.L1Contract))
}

Expand Down

0 comments on commit 39dc9bf

Please sign in to comment.