Browse Source

peer_control: better logging when we don't tell peer about locked funding.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
e9328217ff
  1. 7
      lightningd/peer_control.c

7
lightningd/peer_control.c

@ -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…
Cancel
Save