diff --git a/src/containers/Nominations.tsx b/src/containers/Nominations.tsx index 74baa4e..b9bc4c4 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 + 1 ?? 0) + const withdrawCalldata = useWithdrawCalldata((slashingSpans?.prior?.length ?? 0) + 1) const nominateCalldata = useNominateCalldata(checkedAddresses) const bondExtraCalldata = useBondExtraCalldata( convertedAmount > 0n ? convertedAmount : undefined