Remove redundant code

This commit is contained in:
practicalswift
2017-12-10 14:18:44 +01:00
committed by Rusty Russell
parent 0353ec0983
commit 4452e3f3f1
4 changed files with 4 additions and 12 deletions

View File

@@ -581,7 +581,7 @@ void peer_connected(struct lightningd *ld, const u8 *msg,
/* Reconnect: discard old one. */
case OPENINGD:
peer = tal_free(peer);
tal_free(peer);
goto return_to_gossipd;
case ONCHAIND_CHEATED: