MCPcopy Create free account
hub / github.com/ElementsProject/lightning / channel_watch_wrong_funding

Function channel_watch_wrong_funding

lightningd/peer_control.c:1861–1870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1859}
1860
1861void channel_watch_wrong_funding(struct lightningd *ld, struct channel *channel)
1862{
1863 /* Watch the "wrong" funding too, in case we spend it. */
1864 if (channel->shutdown_wrong_funding) {
1865 /* FIXME: Remove arg from cb? */
1866 watch_txo(channel, ld->topology, channel,
1867 channel->shutdown_wrong_funding,
1868 funding_spent);
1869 }
1870}
1871
1872void channel_watch_funding(struct lightningd *ld, struct channel *channel)
1873{

Callers 2

channel_watch_fundingFunction · 0.85
peer_got_shutdownFunction · 0.85

Calls 1

watch_txoFunction · 0.70

Tested by

no test coverage detected