We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9c126 commit 081a8bcCopy full SHA for 081a8bc
governance/xc_admin/packages/crank_pythnet_relayer/src/index.ts
@@ -171,11 +171,13 @@ async function run() {
171
.rpc({ skipPreflight: true });
172
}
173
} else if (response.code == 5) {
174
- throw new Error(
175
- `Wormhole API failure :${wormholeApi}/v1/signed_vaa/1/${EMITTER.toBuffer().toString(
+ console.log(`All VAAs have been relayed`);
+ console.log(
176
+ `${wormholeApi}/v1/signed_vaa/1/${EMITTER.toBuffer().toString(
177
"hex"
178
)}/${lastSequenceNumber}`
179
);
180
+ break;
181
} else {
182
throw new Error("Could not connect to wormhole api");
183
0 commit comments