Skip to content

Commit

Permalink
Merge pull request #30 from darwinia-network/fix/assetsToVotes-params
Browse files Browse the repository at this point in the history
change assetsToVotes params
  • Loading branch information
snoopy1412 authored Nov 22, 2024
2 parents 0c393ab + e120f18 commit 4439510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/collator/_hooks/update-commission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const useUpdateCommission = ({
abi: hubAbi,
address: hubAddress,
functionName: 'assetsToVotes',
args: [totalAssets, newCommission],
args: [newCommission, totalAssets],
query: {
enabled: !isNil(totalAssets)
}
Expand Down

0 comments on commit 4439510

Please sign in to comment.