diff --git a/src/CashuWallet.ts b/src/CashuWallet.ts index 1f9d1dca..a2fd3156 100644 --- a/src/CashuWallet.ts +++ b/src/CashuWallet.ts @@ -368,7 +368,7 @@ class CashuWallet { quote: string, options?: { keysetId?: string; - amountPreference?: Array; + preference?: Array; counter?: number; pubkey?: string; } @@ -377,7 +377,7 @@ class CashuWallet { const { blindedMessages, secrets, rs } = this.createRandomBlindedMessages( amount, options?.keysetId ?? keyset.id, - options?.amountPreference, + options?.preference, options?.counter, options?.pubkey );