show current version for state-sync

This commit is contained in:
liangping
2022-04-12 17:52:14 +08:00
parent 1ef6c55403
commit 6fceb30b73
2 changed files with 10 additions and 22 deletions
+4
View File
@@ -55,6 +55,10 @@ export default class ChainFetch {
return true
}
async getNodeInfo() {
return this.get('/node_info')
}
async getLatestBlock(config = null) {
const conf = config || this.getSelectedConfig()
if (conf.chain_name === 'injective') {