Remove redundant remote_shutdown_scriptpubkey assignment

This commit is contained in:
practicalswift
2017-12-08 16:14:59 +01:00
committed by Christian Decker
parent b5c8b9b9b3
commit 2ed53025f9

View File

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