We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a009b62 + e041f09 commit bf3dcc8Copy full SHA for bf3dcc8
1 file changed
yarn-project/cli-wallet/src/utils/options/fees.ts
@@ -158,10 +158,10 @@ export function parsePaymentMethod(
158
const { FeeJuicePaymentMethodWithClaim } = await import('@aztec/aztec.js/fee');
159
return new FeeJuicePaymentMethodWithClaim(from, {
160
claimAmount: (typeof claimAmount === 'string'
161
- ? Fr.fromHexString(claimAmount)
+ ? Fr.fromString(claimAmount)
162
: new Fr(claimAmount)
163
).toBigInt(),
164
- claimSecret: Fr.fromHexString(claimSecret),
+ claimSecret: typeof claimSecret === 'string' ? Fr.fromString(claimSecret) : claimSecret,
165
messageLeafIndex: BigInt(messageLeafIndex),
166
});
167
} else {
0 commit comments