mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-12 19:02:01 +01:00
Fix: serverinfo 'available' wasn't set for BTC
This commit is contained in:
parent
e5113f8b74
commit
ee1a034c0a
2 changed files with 7 additions and 1 deletions
|
@ -36,7 +36,8 @@ namespace BTCPayServer.Services
|
|||
VerificationProgress = s.VerificationProgress
|
||||
} : null,
|
||||
ChainHeight = summary.Status.ChainHeight,
|
||||
SyncHeight = summary.Status.SyncHeight
|
||||
SyncHeight = summary.Status.SyncHeight,
|
||||
Available = summary.Status.IsFullySynched
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -103,6 +103,11 @@
|
|||
"format": "integer",
|
||||
"nullable": true,
|
||||
"description": "The height of the latest indexed block of the internal indexer"
|
||||
},
|
||||
"available": {
|
||||
"type": "boolean",
|
||||
"description": "True if the full node and the indexer are fully synchronized",
|
||||
"nullable": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue