From eb61c4f0892d0b35e61806a517fd88b3a4edabe1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 15 Feb 2017 15:47:14 +0200 Subject: [PATCH] test --- basilisk/basilisk_bitcoin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/basilisk/basilisk_bitcoin.c b/basilisk/basilisk_bitcoin.c index dadfc6f88..c6bdadf34 100755 --- a/basilisk/basilisk_bitcoin.c +++ b/basilisk/basilisk_bitcoin.c @@ -633,6 +633,8 @@ char *iguana_utxorawtx(struct supernet_info *myinfo,struct iguana_info *coin,int else { timelocked = (uint32_t)(time(NULL)+timelock); + if ( (timelocked % 3600) != 0 ) + timelocked += (3600 - (timelocked % 3600)); p2shlen = bitcoin_timelockspend(p2shscript,0,rmd160,timelocked); calc_rmd160(0,rmd160,p2shscript,p2shlen); spendlen = bitcoin_p2shspend(script,0,rmd160);