improvement to previous timelock address bug fix
This commit is contained in:
parent
194df37d56
commit
530453a701
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue