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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2015-07-03 06:08:59 +09:30
parent 1075264c66
commit 66b1df4036

View File

@@ -238,7 +238,7 @@ struct bitcoin_tx *bitcoin_tx(const tal_t *ctx, varint_t input_count,
assert(tx->input[i].script == NULL); assert(tx->input[i].script == NULL);
tx->input[i].sequence_number = 0xFFFFFFFF; tx->input[i].sequence_number = 0xFFFFFFFF;
} }
tx->lock_time = 0xFFFFFFFF; tx->lock_time = 0;
return tx; return tx;
} }