Skip to content

Commit 8b9fb09

Browse files
fix example
1 parent d4ec78a commit 8b9fb09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/next/src/components/actions/register.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ export const RegisterOperator = () => {
3131
await handleTx(
3232
await registerOperator({
3333
api: selectedWallet.api,
34-
senderAddress: selectedWallet.accounts[0].address,
35-
Operator: operatorAccounts[0],
3634
domainId,
3735
amountToStake,
3836
minimumNominatorStake,
3937
nominationTax,
38+
publicKey: operatorAccounts[0].publicKey,
4039
}),
4140
setErrorForm,
4241
)

0 commit comments

Comments
 (0)