mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-13 06:55:34 -05:00
fix NPE reading wallet height before initialized (#1916)
This commit is contained in:
parent
b76a556487
commit
348bfb7f38
1 changed files with 1 additions and 1 deletions
|
|
@ -1465,7 +1465,7 @@ public class XmrWalletService extends XmrWalletBase {
|
||||||
long date = localDateTime.toEpochSecond(ZoneOffset.UTC);
|
long date = localDateTime.toEpochSecond(ZoneOffset.UTC);
|
||||||
user.setWalletCreationDate(date);
|
user.setWalletCreationDate(date);
|
||||||
}
|
}
|
||||||
walletHeight.set(wallet.getHeight());
|
if (wallet != null) walletHeight.set(wallet.getHeight());
|
||||||
isClosingWallet = false;
|
isClosingWallet = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue