From 530453a701bdd5dc778aa73e30700770b66fc45f Mon Sep 17 00:00:00 2001 From: OutCast3k Date: Fri, 28 Dec 2018 23:42:00 +0000 Subject: [PATCH] improvement to previous timelock address bug fix --- js/coinbin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/coinbin.js b/js/coinbin.js index df096c8..01b0cce 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -888,8 +888,7 @@ $(document).ready(function() { if($("#redeemFromStatus").hasClass("hidden")) { // An ethical dilemma: Should we automatically set nLockTime? - console.log(redeem); - if(redeem.from == 'redeemScript' && redeem.decodescript.type == "hodl__") { + if(redeem.from == 'redeemScript' && redeem.type == "hodl__") { $("#nLockTime").val(redeem.decodescript.checklocktimeverify); } else { $("#nLockTime").val(0);