diff --git a/examples/next/src/components/actions/register.tsx b/examples/next/src/components/actions/register.tsx index 3cd973ae..cd0158da 100644 --- a/examples/next/src/components/actions/register.tsx +++ b/examples/next/src/components/actions/register.tsx @@ -31,12 +31,11 @@ export const RegisterOperator = () => { await handleTx( await registerOperator({ api: selectedWallet.api, - senderAddress: selectedWallet.accounts[0].address, - Operator: operatorAccounts[0], domainId, amountToStake, minimumNominatorStake, nominationTax, + publicKey: operatorAccounts[0].publicKey, }), setErrorForm, )