Skip to content

Commit

Permalink
improvement to previous timelock address bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OutCast3k committed Dec 28, 2018
1 parent 194df37 commit 530453a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/coinbin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 530453a

Please sign in to comment.