mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Add workaround for missing Tendermint version
This commit is contained in:
parent
d7fdf05aac
commit
ae1f2e28a0
@ -5,7 +5,10 @@ import { Adaptor } from "./adaptor";
|
||||
import { v0_33 } from "./v0-33";
|
||||
|
||||
const hashes = {
|
||||
v0_34: ["ca2c9df"],
|
||||
v0_34: [
|
||||
"ca2c9df", // v0.34.0-rc6
|
||||
"", // See https://github.com/cosmos/cosmos-sdk/issues/7963
|
||||
],
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -502,7 +502,9 @@ function decodeNodeInfo(data: RpcNodeInfo): responses.NodeInfo {
|
||||
id: fromHex(assertNotEmpty(data.id)),
|
||||
listenAddr: assertNotEmpty(data.listen_addr),
|
||||
network: assertNotEmpty(data.network),
|
||||
version: assertNotEmpty(data.version),
|
||||
// TODO: Reactivate check when https://github.com/cosmos/cosmos-sdk/issues/7963 is resolved
|
||||
// version: assertNotEmpty(data.version),
|
||||
version: data.version,
|
||||
channels: assertNotEmpty(data.channels),
|
||||
moniker: assertNotEmpty(data.moniker),
|
||||
other: dictionaryToStringMap(data.other),
|
||||
|
Loading…
x
Reference in New Issue
Block a user