Address in client is also wrong

Change-Id: I05a4450f56139894e737550b1ab14133e7f0ff67
This commit is contained in:
Bruce Riley 2022-09-06 18:09:39 +00:00 committed by jumpsiegel
parent df25eb737c
commit 22b298da8e
1 changed files with 2 additions and 4 deletions

View File

@ -13,6 +13,7 @@ import {
getEmitterAddressSolana,
getEmitterAddressTerra,
getEmitterAddressEth,
getEmitterAddressAlgorand,
} from "@certusone/wormhole-sdk";
import { execute_solana } from "./solana";
import {
@ -298,10 +299,7 @@ yargs(hideBin(process.argv))
} else if (isTerraChain(chain)) {
addr = await getEmitterAddressTerra(addr);
} else if (chain === "algorand") {
if (network !== "MAINNET") {
throw Error(`unable to look up algorand emitter address for ${network}`);
}
addr = "25e716e0618d9f38b603a97cc42db659069c0f5185230e5e61679fa876191ec4";
addr = getEmitterAddressAlgorand(BigInt(addr));
} else if (chain === "near") {
if (network !== "MAINNET") {
throw Error(`unable to look up near emitter address for ${network}`);