Skip to content

Commit

Permalink
Merge pull request #128 from cashubtc/fix-amount-preference
Browse files Browse the repository at this point in the history
Fix: rename `amountPreference` to `preference`
  • Loading branch information
gandlafbtc authored May 20, 2024
2 parents d8ba195 + d5dd172 commit bdeb88c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CashuWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class CashuWallet {
quote: string,
options?: {
keysetId?: string;
amountPreference?: Array<AmountPreference>;
preference?: Array<AmountPreference>;
counter?: number;
pubkey?: string;
}
Expand All @@ -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
);
Expand Down

0 comments on commit bdeb88c

Please sign in to comment.