Skip to content

Commit

Permalink
added batch to error msg for e2e (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesha22 authored Oct 26, 2023
1 parent a038955 commit 4f2fcc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class PrimeSdk {

async estimate(paymasterDetails?: PaymasterApi, gasDetails?: TransactionGasInfoForUserOp) {
if (this.userOpsBatch.to.length < 1) {
throw new Error("cannot sign empty transaction");
throw new Error("cannot sign empty transaction batch");
}

if (paymasterDetails?.url) {
Expand Down

0 comments on commit 4f2fcc5

Please sign in to comment.