Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanFro committed Jun 27, 2018
1 parent 0927f11 commit 6d27620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"homepage": "https://github.com/wingsdao/wings-light-bridge#readme",
"dependencies": {
"zeppelin-solidity": "1.6.0",
"wings-integration": "^1.1.4"
"wings-integration": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion test/Bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ contract('Bridge', (accounts) => {
})

it('Should have eth reward on contract', async () => {
const ethReward = web3.toBigNumber(totalCollected).mul(rewards.eth).div(1000000).toString(10)
const ethReward = web3.toBigNumber(totalCollectedETH == 0 ? totalCollected : totalCollectedETH).mul(rewards.eth).div(1000000).toString(10)
const ethBalance = web3.eth.getBalance(bridge.address).toString(10)

ethBalance.should.be.equal(ethReward)
Expand Down

0 comments on commit 6d27620

Please sign in to comment.