Browse Source

Remove redundant remote_shutdown_scriptpubkey assignment

ppa-0.6.1
practicalswift 7 years ago
committed by Christian Decker
parent
commit
2ed53025f9
  1. 3
      lightningd/peer_control.c

3
lightningd/peer_control.c

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

Loading…
Cancel
Save