Skip to content

Commit

Permalink
complete remove removed toLoadingString functions
Browse files Browse the repository at this point in the history
  • Loading branch information
pablof7z committed Feb 20, 2025
1 parent 51ddc41 commit 27d08b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
8 changes: 0 additions & 8 deletions ndk-wallet/src/wallets/cashu/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,9 @@ export class NDKCashuWallet extends EventEmitter<NDKWalletEvents & {
return this.event?.tagId();
}


public checkProofs = consolidateTokens.bind(this);
public consolidateTokens = consolidateTokens.bind(this);

public toLoadingString() {
return JSON.stringify({
type: 'nip60',
bech32: this.event!.encode(),
});
}

/**
* Generates nuts that can be used to send to someone.
*
Expand Down
5 changes: 0 additions & 5 deletions ndk-wallet/src/wallets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,4 @@ export interface NDKWallet
* Get the balance of this wallet
*/
balance(): NDKWalletBalance | undefined;

/**
* Serializes the wallet configuration in a way that can be restored later.
*/
toLoadingString?(): string;
}

0 comments on commit 27d08b5

Please sign in to comment.