forked from Qortal/qortal
PRESENCE transactions changed to always fail signature validation
This commit is contained in:
parent
fd6ec301a4
commit
a7a94e49e8
@ -209,6 +209,9 @@ public class PresenceTransaction extends Transaction {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isSignatureValid() {
|
public boolean isSignatureValid() {
|
||||||
|
return false;
|
||||||
|
|
||||||
|
/*
|
||||||
byte[] signature = this.transactionData.getSignature();
|
byte[] signature = this.transactionData.getSignature();
|
||||||
if (signature == null)
|
if (signature == null)
|
||||||
return false;
|
return false;
|
||||||
@ -231,6 +234,7 @@ public class PresenceTransaction extends Transaction {
|
|||||||
|
|
||||||
// Check nonce
|
// Check nonce
|
||||||
return MemoryPoW.verify2(transactionBytes, POW_BUFFER_SIZE, POW_DIFFICULTY, nonce);
|
return MemoryPoW.verify2(transactionBytes, POW_BUFFER_SIZE, POW_DIFFICULTY, nonce);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user