Skip to content

Commit bf3dcc8

Browse files
author
AztecBot
committed
Merge branch 'next' into merge-train/barretenberg
2 parents a009b62 + e041f09 commit bf3dcc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • yarn-project/cli-wallet/src/utils/options

yarn-project/cli-wallet/src/utils/options/fees.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ export function parsePaymentMethod(
158158
const { FeeJuicePaymentMethodWithClaim } = await import('@aztec/aztec.js/fee');
159159
return new FeeJuicePaymentMethodWithClaim(from, {
160160
claimAmount: (typeof claimAmount === 'string'
161-
? Fr.fromHexString(claimAmount)
161+
? Fr.fromString(claimAmount)
162162
: new Fr(claimAmount)
163163
).toBigInt(),
164-
claimSecret: Fr.fromHexString(claimSecret),
164+
claimSecret: typeof claimSecret === 'string' ? Fr.fromString(claimSecret) : claimSecret,
165165
messageLeafIndex: BigInt(messageLeafIndex),
166166
});
167167
} else {

0 commit comments

Comments
 (0)