Skip to content

Commit

Permalink
node/pkg/watcher: update terra
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel committed Sep 13, 2023
1 parent 8c1f7d2 commit 546ccac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/watchers/cosmwasm/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 546ccac

Please sign in to comment.