Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Storing raw vCow amount rather than the formatted amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro committed Jan 25, 2022
1 parent b6c889c commit af2ddb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/custom/state/claim/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export function useClaimCallback(account: string | null | undefined): {
summary: `Claim ${formattedVCowAmount} vCOW`,
claim: { recipient: account, indices: args[0] as number[] },
})
return formattedVCowAmount
return vCowAmount.quotient.toString()
})
},
[account, addTransaction, chainId, connectedAccount, estimateGasCallback, getClaimArgs, vCowContract, vCowToken]
Expand Down

0 comments on commit af2ddb6

Please sign in to comment.