client/js: Fix emitter lookup for cosmwasm
Change-Id: Ib066b21f3c73e3165015d5eddf6b224c26d76cf1
This commit is contained in:
parent
a99c4a1a7c
commit
43f2ecfeab
|
@ -416,7 +416,7 @@ yargs(hideBin(process.argv))
|
|||
if (chain === "solana" || chain === "pythnet") {
|
||||
// TODO: Create an isSolanaChain()
|
||||
addr = await emitter.getEmitterAddressSolana(addr);
|
||||
} else if (emitter.isCosmWasmChain(chain)) {
|
||||
} else if (isCosmWasmChain(chain)) {
|
||||
addr = await emitter.getEmitterAddressTerra(addr);
|
||||
} else if (chain === "algorand") {
|
||||
addr = emitter.getEmitterAddressAlgorand(BigInt(addr));
|
||||
|
|
Loading…
Reference in New Issue