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

Commit

Permalink
cr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rachit77 committed Mar 27, 2024
1 parent 0c4646f commit 9e7cde1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interop/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (e *Executor) Execute(ctx context.Context, signedTx tx.SignedTx) error {

if batch == nil {
return fmt.Errorf(
"unable to perform soundness check because batch with number %v is undefined",
"unable to perform soundness check because batch with number %d is undefined",
signedTx.Tx.NewVerifiedBatch,
)
}
Expand Down
2 changes: 1 addition & 1 deletion interop/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func TestExecutor_Execute(t *testing.T) {
err := executor.Execute(context.Background(), signedTx)
require.Error(t, err)
expectedError := fmt.Sprintf(
"unable to perform soundness check because batch with number %v is undefined",
"unable to perform soundness check because batch with number %d is undefined",
signedTx.Tx.NewVerifiedBatch,
)
assert.Contains(t, err.Error(), expectedError)
Expand Down

0 comments on commit 9e7cde1

Please sign in to comment.