node/pkg/watcher: update terra

This commit is contained in:
Paul Noel 2023-09-13 12:05:10 -05:00 committed by Paul Noel
parent 8c1f7d2eda
commit 546ccac3c4
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ func NewWatcher(
latestBlockURL := "blocks/latest"
// Terra2 and Injective do things slightly differently than terra classic
if chainID == vaa.ChainIDInjective || chainID == vaa.ChainIDTerra2 {
if chainID == vaa.ChainIDInjective || chainID == vaa.ChainIDTerra2 || (chainID == vaa.ChainIDTerra && env != common.UnsafeDevNet) {
latestBlockURL = "cosmos/base/tendermint/v1beta1/blocks/latest"
}