mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +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:
parent
c42fa4404a
commit
e9328217ff
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue