Browse Source

peer: don't print uninitialized commit_num.

Reported-by: Lucas Betschart <lucasbetschart@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 8 years ago
parent
commit
e109977df7
  1. 2
      daemon/peer.c

2
daemon/peer.c

@ -4167,7 +4167,7 @@ static enum watch_result anchor_spent(struct peer *peer,
peer->local.commit->commit_num)) {
log_broken(peer->log,
"Can't resolve own anchor spend %"PRIu64"!",
commit_num);
peer->local.commit->commit_num);
goto unknown_spend;
}
resolve_our_unilateral(peer);

Loading…
Cancel
Save