Node: Block height is always zero on Terra2 (#2762)
* Node: Block height is always zero on Terra2 Change-Id: Ie504139fa3cd9fcce78dd53ca9a0cfc797f3bf30 * Remove test logging Change-Id: I273267171f7201818395f17d87592ae75f0ce5c8
This commit is contained in:
parent
3dd4fe26b9
commit
4ed89172cc
|
@ -116,8 +116,8 @@ func NewWatcher(
|
||||||
// Do not add a leading slash
|
// Do not add a leading slash
|
||||||
latestBlockURL := "blocks/latest"
|
latestBlockURL := "blocks/latest"
|
||||||
|
|
||||||
// Injective does things slightly differently than terra
|
// Terra2 and Injective do things slightly differently than terra classic
|
||||||
if chainID == vaa.ChainIDInjective {
|
if chainID == vaa.ChainIDInjective || chainID == vaa.ChainIDTerra2 {
|
||||||
latestBlockURL = "cosmos/base/tendermint/v1beta1/blocks/latest"
|
latestBlockURL = "cosmos/base/tendermint/v1beta1/blocks/latest"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue