diff --git a/src/lib/mina/account-update.ts b/src/lib/mina/account-update.ts index c07390b21f..bbf73fcece 100644 --- a/src/lib/mina/account-update.ts +++ b/src/lib/mina/account-update.ts @@ -159,8 +159,7 @@ const Actions = { type MayUseToken = BaseMayUseToken; const MayUseToken = { - ...BaseMayUseToken, - type: provablePure({ parentsOwnToken: Bool, inheritFromParent: Bool }), + type: BaseMayUseToken, No: { parentsOwnToken: Bool(false), inheritFromParent: Bool(false), diff --git a/src/lib/mina/account-update.unit-test.ts b/src/lib/mina/account-update.unit-test.ts index 61b55f6e76..28c64d1a46 100644 --- a/src/lib/mina/account-update.unit-test.ts +++ b/src/lib/mina/account-update.unit-test.ts @@ -163,7 +163,7 @@ function createAccountUpdateWithMayUseToken( // throws an error when both flags are true in check method { expect(() => { - AccountUpdate.MayUseToken.check({ + AccountUpdate.MayUseToken.type.check({ parentsOwnToken: Bool(true), inheritFromParent: Bool(true), });