mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-10 21:49:00 -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);
|
||||
user.setWalletCreationDate(date);
|
||||
}
|
||||
walletHeight.set(wallet.getHeight());
|
||||
if (wallet != null) walletHeight.set(wallet.getHeight());
|
||||
isClosingWallet = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue