mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
do not complete completed completer
This commit is contained in:
parent
e8dc77529f
commit
de1413f955
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ mixin ElectrumXInterface<T extends Bip39HDCurrency> on Bip39HDWallet<T> {
|
|||
|
||||
_latestHeight = chainHeight;
|
||||
|
||||
if (isFirstResponse) {
|
||||
if (isFirstResponse && !completer.isCompleted) {
|
||||
// Return the chain height.
|
||||
completer.complete(chainHeight);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue