mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-19 13:04:37 +01:00
peer_control: better logging when we don't tell peer about locked funding.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
c42fa4404a
commit
e9328217ff
@@ -1003,8 +1003,11 @@ static enum watch_result funding_announce_cb(struct peer *peer,
|
||||
}
|
||||
|
||||
if (!peer->owner || !streq(peer->owner->name, "lightning_channeld")) {
|
||||
log_debug(peer->ld->log,
|
||||
"Funding tx announce ready, but peer is not owned by channeld");
|
||||
log_debug(peer->log,
|
||||
"Funding tx announce ready, but peer state %s"
|
||||
" owned by %s",
|
||||
peer_state_name(peer->state),
|
||||
peer->owner ? peer->owner->name : "none");
|
||||
return KEEP_WATCHING;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user