Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Jan 3, 2022
1 parent c269fdd commit 6cd1fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Participate.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default function Participate (props) {
if (!crowdLoanEnded) {
if (data.value >= 0.1) {
try {
const txExcecuteDummy = api.tx.crowdloan.contribute(paraId, data.value * Math.pow(10, 12), null);
const txExcecuteDummy = api.tx.crowdloan.contribute(paraId, Math.pow(10, 12), null);
const info = await txExcecuteDummy.paymentInfo(accountAddress);
setEstimatedFee(() => info.partialFee.toHuman());
} catch (error) {
Expand Down

0 comments on commit 6cd1fc6

Please sign in to comment.