mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-13 19:12:33 +00:00
Fix for NPE in verifyMemoryPoW()
This commit is contained in:
parent
5c223179ed
commit
b4125d2bf1
@ -649,6 +649,11 @@ public class OnlineAccountsManager {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Require a valid nonce value
|
||||||
|
if (onlineAccountData.getNonce() == null || onlineAccountData.getNonce() < 0) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
int nonce = onlineAccountData.getNonce();
|
int nonce = onlineAccountData.getNonce();
|
||||||
|
|
||||||
byte[] mempowBytes;
|
byte[] mempowBytes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user