slashing spans fix
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
7bb4a473ba
commit
e10a4a37a5
@ -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 <f4ts0@ghostchain.io>",
|
||||
"maintainers": [
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user