Skip to content

Commit

Permalink
add check against different network hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Trivo25 committed Feb 20, 2024
1 parent 5840e76 commit 5b9bdcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mina-signer/src/sign-zkapp-command.unit-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ test(
let hashSnarky = accountUpdateSnarky.hash();
let hash = accountUpdateHash(accountUpdate, networkId);
expect(hash).toEqual(hashSnarky.toBigInt());
/*

// check against different network hash
expect(hash).not.toEqual(
accountUpdateHash(
accountUpdate,
NetworkId.toString(networkId) === 'mainnet' ? 'testnet' : 'mainnet'
)
); */
);
}
);

Expand Down

0 comments on commit 5b9bdcf

Please sign in to comment.