From 4d61585e4ce9fb346a44a875de47e9d5ff1cebe2 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 8 Feb 2021 11:04:57 +0200 Subject: [PATCH] rbf: remove unnecessary locktime = 0 check --- .../java/com/sparrowwallet/drongo/protocol/Transaction.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/sparrowwallet/drongo/protocol/Transaction.java b/src/main/java/com/sparrowwallet/drongo/protocol/Transaction.java index 2dc71e9..e7c7f22 100644 --- a/src/main/java/com/sparrowwallet/drongo/protocol/Transaction.java +++ b/src/main/java/com/sparrowwallet/drongo/protocol/Transaction.java @@ -89,8 +89,6 @@ public class Transaction extends ChildMessage { } public boolean isReplaceByFee() { - if(locktime == 0) return false; - for(TransactionInput input : inputs) { if(input.isReplaceByFeeEnabled()) { return true;