mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd: keep last valid tx, and its signature.
This avoids us having to reconstruct it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -489,6 +489,8 @@ void add_peer(struct lightningd *ld, u64 unique_id,
|
||||
peer->our_msatoshi = NULL;
|
||||
peer->state = UNINITIALIZED;
|
||||
peer->channel_info = NULL;
|
||||
peer->last_tx = NULL;
|
||||
peer->last_sig = NULL;
|
||||
peer->last_was_revoke = false;
|
||||
peer->last_sent_commit = NULL;
|
||||
peer->remote_shutdown_scriptpubkey = NULL;
|
||||
|
||||
Reference in New Issue
Block a user