diff --git a/package.json b/package.json index d4a4a71..68594b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghost-lite", - "version": "0.1.8", + "version": "0.1.9", "description": "Web application for Ghost and Casper chain.", "author": "Uncle f4ts0 ", "maintainers": [ diff --git a/src/containers/Nominations.tsx b/src/containers/Nominations.tsx index 6da8047..74baa4e 100644 --- a/src/containers/Nominations.tsx +++ b/src/containers/Nominations.tsx @@ -242,7 +242,7 @@ export const Nominations = () => { const bondedAddress = useBondedAddress({ address: account?.address }) const payeeCalldata = usePayeeCalldata(expectedPayee, destinationReceiver) - const withdrawCalldata = useWithdrawCalldata(slashingSpans?.prior?.length ?? 0) + const withdrawCalldata = useWithdrawCalldata(slashingSpans?.prior?.length + 1 ?? 0) const nominateCalldata = useNominateCalldata(checkedAddresses) const bondExtraCalldata = useBondExtraCalldata( convertedAmount > 0n ? convertedAmount : undefined