forked from Qortal/qortal
Fix for NPE in verifyMemoryPoW()
This commit is contained in:
parent
5c223179ed
commit
b4125d2bf1
@ -649,6 +649,11 @@ public class OnlineAccountsManager {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Require a valid nonce value
|
||||
if (onlineAccountData.getNonce() == null || onlineAccountData.getNonce() < 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
int nonce = onlineAccountData.getNonce();
|
||||
|
||||
byte[] mempowBytes;
|
||||
|
Loading…
Reference in New Issue
Block a user