Skip to content

Commit

Permalink
[actions] Make GetWalletService syncable (#3900)
Browse files Browse the repository at this point in the history
This fixes a bug when wallet operations (for example GetBestBlock) are attempted
before the GetWalletServiceAttempt fully completes, causing the wallet not to
load.
  • Loading branch information
matheusd authored Sep 25, 2023
1 parent 2df568a commit 74c3fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/actions/ClientActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const getWalletServiceAttempt = () => (dispatch, getState) => {
} = getState();
dispatch({ type: GETWALLETSERVICE_ATTEMPT });
const grpcCertAndKey = wallet.getDcrwalletGrpcKeyCert();
wallet
return wallet
.getWalletService(
sel.isTestNet(getState()),
walletName,
Expand Down

0 comments on commit 74c3fdf

Please sign in to comment.