Browse Source

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>
ppa-0.6.1
Rusty Russell 9 years ago
parent
commit
66b1df4036
  1. 2
      bitcoin/tx.c

2
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;
}

Loading…
Cancel
Save