improvement to previous timelock address bug fix

This commit is contained in:
OutCast3k 2018-12-28 23:42:00 +00:00
parent 194df37d56
commit 530453a701

View file

@ -888,8 +888,7 @@ $(document).ready(function() {
if($("#redeemFromStatus").hasClass("hidden")) { if($("#redeemFromStatus").hasClass("hidden")) {
// An ethical dilemma: Should we automatically set nLockTime? // An ethical dilemma: Should we automatically set nLockTime?
console.log(redeem); if(redeem.from == 'redeemScript' && redeem.type == "hodl__") {
if(redeem.from == 'redeemScript' && redeem.decodescript.type == "hodl__") {
$("#nLockTime").val(redeem.decodescript.checklocktimeverify); $("#nLockTime").val(redeem.decodescript.checklocktimeverify);
} else { } else {
$("#nLockTime").val(0); $("#nLockTime").val(0);