Merge pull request #198 from jmacxx/fix_issue_193

fix: RBF always set when redeeming OP_CHECKLOCKTIMEVERIFY
This commit is contained in:
OutCast3k
2019-12-24 22:44:43 +00:00
committed by GitHub
+2 -2
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;
} }