Skip to content

Commit f9e8ede

Browse files
committed
Fix test command: do not round currentUSDFunding
Some tests need to keep all the precision, rounding might confuse the test to think no MVM was created when actually it was created
1 parent ec968a5 commit f9e8ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ async function runFundCrowdsaleBelowSoftCap(command, state) {
629629

630630
// take current funding again, because previous command might have skipped
631631
// buying tokens if eth was lte 0
632-
currentUSDFunding = state.weiRaised.div(weiPerUSD).floor();
632+
currentUSDFunding = state.weiRaised.div(weiPerUSD);
633633

634634
if (command.finalize) {
635635
// wait for crowdsale end2Timestamp

0 commit comments

Comments
 (0)