mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
Rework NodeState.toString() (#5432)
This commit is contained in:
parent
3ed78b5270
commit
0053ccd853
@ -116,6 +116,10 @@ sealed trait NodeRunningState extends NodeState {
|
||||
def toDoneSyncing: DoneSyncing = {
|
||||
DoneSyncing(peerDataMap, waitingForDisconnection, peerFinder)
|
||||
}
|
||||
|
||||
override def toString: String = {
|
||||
s"${getClass.getSimpleName}(peers=${peers},waitingForDisconnection=${waitingForDisconnection})"
|
||||
}
|
||||
}
|
||||
|
||||
/** State to indicate that we are syncing the blockchain */
|
||||
|
Loading…
Reference in New Issue
Block a user