mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 00:54:20 +01:00
state: move anchor-depth-ok code into peer.c
This is the beginning of removing state.c altogether. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -306,8 +306,7 @@ static void load_peer_anchor(struct peer *peer)
|
||||
|
||||
/* FIXME: Do timeout! */
|
||||
peer_watch_anchor(peer,
|
||||
sqlite3_column_int(stmt, 4),
|
||||
BITCOIN_ANCHOR_DEPTHOK, INPUT_NONE);
|
||||
sqlite3_column_int(stmt, 4), INPUT_NONE);
|
||||
peer->anchor.min_depth = sqlite3_column_int(stmt, 5);
|
||||
anchor_set = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user