Skip to content

Commit ccf05cd

Browse files
authored
chore: bump template ccc version (#218)
* chore: bump template ccc version * chore: fmt
1 parent ba7e355 commit ccf05cd

6 files changed

Lines changed: 1139 additions & 899 deletions

File tree

templates/v3/next-js-template/frontend/app/wallet-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function buildCccClient(network: Network) {
1717
? new ccc.ClientPublicMainnet()
1818
: network === 'testnet'
1919
? new ccc.ClientPublicTestnet()
20-
: new ccc.ClientPublicTestnet(offCKBConfig.rpcUrl, undefined, DEVNET_SCRIPTS);
20+
: new ccc.ClientPublicTestnet({ url: offCKBConfig.rpcUrl, scripts: DEVNET_SCRIPTS });
2121

2222
return client;
2323
}

0 commit comments

Comments
 (0)