Browse Source

channel, opening_control: Make first_blocknum u32

The `new_channel` constructor accepts u32, and the
`get_block_height` function returns u32, so the
extra 32 bits is unuseable anyway.
ppa-0.6.1
ZmnSCPxj 7 years ago
committed by Christian Decker
parent
commit
30daa539f0
  1. 2
      lightningd/channel.h
  2. 2
      lightningd/opening_control.c

2
lightningd/channel.h

@ -92,7 +92,7 @@ struct channel {
/* Blockheight at creation, scans for funding confirmations
* will start here */
u64 first_blocknum;
u32 first_blocknum;
/* Feerate range */
u32 min_possible_feerate, max_possible_feerate;

2
lightningd/opening_control.c

@ -49,7 +49,7 @@ struct uncommitted_channel {
/* Blockheight at creation, scans for funding confirmations
* will start here */
u64 first_blocknum;
u32 first_blocknum;
/* These are *not* filled in by new_uncommitted_channel: */

Loading…
Cancel
Save