From b77f3cf06acdca7790212b6e1feb1c044f2dc5ba Mon Sep 17 00:00:00 2001 From: Wowee0 Date: Fri, 18 Oct 2019 23:19:52 -0500 Subject: [PATCH] fix: RBF always set when redeeming OP_CHECKLOCKTIMEVERIFY --- js/coinbin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/coinbin.js b/js/coinbin.js index 69f266d..99c1914 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -171,7 +171,7 @@ $(document).ready(function() { script = sw.redeemscript; } - var sequence = false; + var sequence = 0xffffffff-1; if($("#walletRBF").is(":checked")){ sequence = 0xffffffff-2; } @@ -656,7 +656,7 @@ $(document).ready(function() { } if(!$(o).hasClass("has-error")){ - var seq = null; + var seq = 0xffffffff-1; if($("#txRBF").is(":checked")){ seq = 0xffffffff-2; }