fix: RBF always set when redeeming OP_CHECKLOCKTIMEVERIFY

This commit is contained in:
Wowee0 2019-10-18 23:19:52 -05:00
parent cf2a8b01cb
commit b77f3cf06a

View file

@ -171,7 +171,7 @@ $(document).ready(function() {
script = sw.redeemscript; script = sw.redeemscript;
} }
var sequence = false; var sequence = 0xffffffff-1;
if($("#walletRBF").is(":checked")){ if($("#walletRBF").is(":checked")){
sequence = 0xffffffff-2; sequence = 0xffffffff-2;
} }
@ -656,7 +656,7 @@ $(document).ready(function() {
} }
if(!$(o).hasClass("has-error")){ if(!$(o).hasClass("has-error")){
var seq = null; var seq = 0xffffffff-1;
if($("#txRBF").is(":checked")){ if($("#txRBF").is(":checked")){
seq = 0xffffffff-2; seq = 0xffffffff-2;
} }