Skip to content

Commit

Permalink
patch: network ID bug
Browse files Browse the repository at this point in the history
  • Loading branch information
EzePze committed May 7, 2024
1 parent afdc5a6 commit 1a3dcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blaze-tx/src/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ export class TxBuilder {
"Cannot complete transaction without setting change address",
);
}
if (!this.networkId) {
if (this.networkId === undefined) {
throw new Error(
"Cannot complete transaction without setting a network id",
);
Expand Down

0 comments on commit 1a3dcf1

Please sign in to comment.