mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-04 11:06:44 +00:00
rbf: remove unnecessary locktime = 0 check
This commit is contained in:
parent
a38206f17c
commit
4d61585e4c
1 changed files with 0 additions and 2 deletions
|
@ -89,8 +89,6 @@ public class Transaction extends ChildMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isReplaceByFee() {
|
public boolean isReplaceByFee() {
|
||||||
if(locktime == 0) return false;
|
|
||||||
|
|
||||||
for(TransactionInput input : inputs) {
|
for(TransactionInput input : inputs) {
|
||||||
if(input.isReplaceByFeeEnabled()) {
|
if(input.isReplaceByFeeEnabled()) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue