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.
This commit is contained in:
ZmnSCPxj
2018-05-06 09:05:49 +00:00
committed by Christian Decker
parent 8d641456a1
commit 30daa539f0
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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: */