mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-08 07:34:20 +01:00
Remove redundant remote_shutdown_scriptpubkey assignment
This commit is contained in:
committed by
Christian Decker
parent
b5c8b9b9b3
commit
2ed53025f9
@@ -1688,8 +1688,7 @@ static void peer_got_shutdown(struct peer *peer, const u8 *msg)
|
||||
}
|
||||
|
||||
/* FIXME: Add to spec that we must allow repeated shutdown! */
|
||||
peer->remote_shutdown_scriptpubkey
|
||||
= tal_free(peer->remote_shutdown_scriptpubkey);
|
||||
tal_free(peer->remote_shutdown_scriptpubkey);
|
||||
peer->remote_shutdown_scriptpubkey = scriptpubkey;
|
||||
|
||||
/* BOLT #2:
|
||||
|
||||
Reference in New Issue
Block a user