From 66b1df4036f2adb488b87e1e6632f2cf7f6458d8 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 3 Jul 2015 06:08:59 +0930 Subject: [PATCH] tx: locktime should be 0. It doesn't matter until we start setting sequence numbers properly, so hasn't been noticed until now. Signed-off-by: Rusty Russell --- bitcoin/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/tx.c b/bitcoin/tx.c index afe4054e9..f16f9415a 100644 --- a/bitcoin/tx.c +++ b/bitcoin/tx.c @@ -238,7 +238,7 @@ struct bitcoin_tx *bitcoin_tx(const tal_t *ctx, varint_t input_count, assert(tx->input[i].script == NULL); tx->input[i].sequence_number = 0xFFFFFFFF; } - tx->lock_time = 0xFFFFFFFF; + tx->lock_time = 0; return tx; }