Add log when we are fetching peers to sync with (#4693)

This commit is contained in:
Chris Stewart 2022-08-31 17:39:21 -05:00 committed by GitHub
parent 80051d4089
commit d2f8811a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ case class NeutrinoNode(
chainApi <- chainApiFromDb()
_ <- chainApi.getBestBlockHash()
_ <- chainApi.setSyncing(true)
_ = logger.info(s"Fetching peers to sync with...")
syncPeer <- peerManager.randomPeerWithService(
ServiceIdentifier.NODE_COMPACT_FILTERS)
_ = logger.info(s"Syncing with $syncPeer")