* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4.
* fixex #1355
* linting
* suggested changes
* Update BreakInvariantBounty.test.js
11 lines
270 B
JavaScript
11 lines
270 B
JavaScript
async function balanceDifference (account, promise) {
|
|
const balanceBefore = web3.eth.getBalance(account);
|
|
await promise();
|
|
const balanceAfter = web3.eth.getBalance(account);
|
|
return balanceAfter.minus(balanceBefore);
|
|
}
|
|
|
|
module.exports = {
|
|
balanceDifference,
|
|
};
|