mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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:
committed by
Christian Decker
parent
8d641456a1
commit
30daa539f0
@@ -92,7 +92,7 @@ struct channel {
|
|||||||
|
|
||||||
/* Blockheight at creation, scans for funding confirmations
|
/* Blockheight at creation, scans for funding confirmations
|
||||||
* will start here */
|
* will start here */
|
||||||
u64 first_blocknum;
|
u32 first_blocknum;
|
||||||
|
|
||||||
/* Feerate range */
|
/* Feerate range */
|
||||||
u32 min_possible_feerate, max_possible_feerate;
|
u32 min_possible_feerate, max_possible_feerate;
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ struct uncommitted_channel {
|
|||||||
|
|
||||||
/* Blockheight at creation, scans for funding confirmations
|
/* Blockheight at creation, scans for funding confirmations
|
||||||
* will start here */
|
* will start here */
|
||||||
u64 first_blocknum;
|
u32 first_blocknum;
|
||||||
|
|
||||||
/* These are *not* filled in by new_uncommitted_channel: */
|
/* These are *not* filled in by new_uncommitted_channel: */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user