Skip to content

Commit b1b7b1e

Browse files
committed
call toBoolean()
1 parent ff4b42e commit b1b7b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/mina/transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ function newTransaction(transaction: ZkappCommand, proofsEnabled?: boolean) {
582582
{
583583
self = self as Transaction<false,false>;
584584
self.transaction.accountUpdates.forEach( au => {
585-
if (au.body.useFullCommitment)
585+
if (au.body.useFullCommitment.toBoolean())
586586
{
587587
au.authorization.signature = undefined;
588588
au.lazyAuthorization = {kind:'lazy-signature'};

0 commit comments

Comments
 (0)