Address in client is also wrong
Change-Id: I05a4450f56139894e737550b1ab14133e7f0ff67
This commit is contained in:
parent
df25eb737c
commit
22b298da8e
|
@ -13,6 +13,7 @@ import {
|
||||||
getEmitterAddressSolana,
|
getEmitterAddressSolana,
|
||||||
getEmitterAddressTerra,
|
getEmitterAddressTerra,
|
||||||
getEmitterAddressEth,
|
getEmitterAddressEth,
|
||||||
|
getEmitterAddressAlgorand,
|
||||||
} from "@certusone/wormhole-sdk";
|
} from "@certusone/wormhole-sdk";
|
||||||
import { execute_solana } from "./solana";
|
import { execute_solana } from "./solana";
|
||||||
import {
|
import {
|
||||||
|
@ -298,10 +299,7 @@ yargs(hideBin(process.argv))
|
||||||
} else if (isTerraChain(chain)) {
|
} else if (isTerraChain(chain)) {
|
||||||
addr = await getEmitterAddressTerra(addr);
|
addr = await getEmitterAddressTerra(addr);
|
||||||
} else if (chain === "algorand") {
|
} else if (chain === "algorand") {
|
||||||
if (network !== "MAINNET") {
|
addr = getEmitterAddressAlgorand(BigInt(addr));
|
||||||
throw Error(`unable to look up algorand emitter address for ${network}`);
|
|
||||||
}
|
|
||||||
addr = "25e716e0618d9f38b603a97cc42db659069c0f5185230e5e61679fa876191ec4";
|
|
||||||
} else if (chain === "near") {
|
} else if (chain === "near") {
|
||||||
if (network !== "MAINNET") {
|
if (network !== "MAINNET") {
|
||||||
throw Error(`unable to look up near emitter address for ${network}`);
|
throw Error(`unable to look up near emitter address for ${network}`);
|
||||||
|
|
Loading…
Reference in New Issue