Skip to content

Commit 123d6a0

Browse files
Change type of amount sent when depositing
We are changing the amount type from BigNumber to string because it looks like it doesn't work well that way on Ropsten. More info: web3/web3.js#2077
1 parent 2cfdc72 commit 123d6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solidity/dashboard/src/pages/coverage-pools/CoveragePoolPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const CoveragePoolPage = ({ title, withNewLabel }) => {
6868

6969
const onSubmitDepositForm = async (values, awaitingPromise) => {
7070
const { tokenAmount } = values
71-
const amount = KEEP.fromTokenUnit(tokenAmount)
71+
const amount = KEEP.fromTokenUnit(tokenAmount).toString()
7272
await openConfirmationModal(
7373
{
7474
modalOptions: {

0 commit comments

Comments
 (0)