Skip to content

Commit 1c858d3

Browse files
authored
clients/js: fix edit-vaa when guardian is no longer in set (wormhole-foundation#3933)
1 parent 0060494 commit 1c858d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clients/js/src/cmds/editVaa.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,10 @@ const getSigsFromWormscanData = (
264264
}
265265
}
266266
if (gsi < 0) {
267-
throw new Error("Failed to look up guardian address " + guardianAddr);
267+
console.warn(
268+
"Failed to look up guardian address " + guardianAddr + ". Skipping."
269+
);
270+
continue;
268271
}
269272
let sig: Signature = {
270273
guardianSetIndex: gsi,

0 commit comments

Comments
 (0)