mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
peer: don't print uninitialized commit_num.
Reported-by: Lucas Betschart <lucasbetschart@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
2a68a984c3
commit
e109977df7
@ -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…
Reference in New Issue
Block a user