Skip to content

Commit

Permalink
add chain to getWallet
Browse files Browse the repository at this point in the history
  • Loading branch information
kajoseph committed May 28, 2024
1 parent 9bb8a5e commit 63f25a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ export class InternalStateProvider implements IChainStateService {
}

async getWallet(params: GetWalletParams) {
const { pubKey } = params;
return WalletStorage.collection.findOne({ pubKey });
const { chain, pubKey } = params;
return WalletStorage.collection.findOne({ chain, pubKey });
}

streamWalletAddresses(params: StreamWalletAddressesParams) {
Expand Down

0 comments on commit 63f25a1

Please sign in to comment.