Skip to content

Commit

Permalink
Update src/createTokenBridge.ts
Browse files Browse the repository at this point in the history
Co-authored-by: spsjvc <[email protected]>
  • Loading branch information
chrstph-dvx and spsjvc authored Sep 26, 2024
1 parent 166eee6 commit 3981bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createTokenBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export async function assertTokenBridgeDoesntExist<
if (router) {
const code = await orbitChainPublicClient.getBytecode({ address: router });
if (code) {
throw new Error('Token bridge was already deployed');
throw new Error(`Token bridge contracts for Rollup ${rollupAddress} are already deployed`);
}
}
}
Expand Down

0 comments on commit 3981bc5

Please sign in to comment.