fix: RBF always set when redeeming OP_CHECKLOCKTIMEVERIFY
This commit is contained in:
parent
cf2a8b01cb
commit
b77f3cf06a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue