mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-26 10:24:29 +01:00
Now any struct channel is a genuine channel, the following fields are always valid: 1. funding_txid: doesn't need to be a pointer. 2. our_msatoshi: doesn't need to be a pointer. 3. last_sig: doesn't need to be a pointer. 4. channel_info: doesn't need to be a pointer. In addition, 'last_tx' is always valid. The main effect is to remove a whole heap of branches from the wallet code. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>