Skip to content

Commit 11abed5

Browse files
committed
fix cross-registration deployment script - use mintRecipientAddress not custodian
1 parent b7b0a59 commit 11abed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/scripts/evm/TokenRouter/cross-registration-token-router.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ function getMintRecipient(chainId: ChainId, routerAddress: string): string {
4949
const connection = new Connection(chainInfo.rpc, chainInfo.commitmentLevel || "confirmed");
5050
const tokenRouter = getTokenRouterProgram(connection);
5151

52-
return toUniversal(chain, tokenRouter.custodianAddress().toBytes()).toString();
52+
return toUniversal(chain, tokenRouter.cctpMintRecipientAddress().toBytes()).toString();
5353
}

0 commit comments

Comments
 (0)