Merge pull request #74 from catbref/presence-txns-removal

PRESENCE transactions changed to always fail signature validation
This commit is contained in:
CalDescent 2022-03-04 10:33:11 +00:00 committed by GitHub
commit 6a8a113fa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,6 +209,9 @@ public class PresenceTransaction extends Transaction {
@Override
public boolean isSignatureValid() {
return false;
/*
byte[] signature = this.transactionData.getSignature();
if (signature == null)
return false;
@ -231,6 +234,7 @@ public class PresenceTransaction extends Transaction {
// Check nonce
return MemoryPoW.verify2(transactionBytes, POW_BUFFER_SIZE, POW_DIFFICULTY, nonce);
*/
}
/**