Skip to content

Commit

Permalink
Removed debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardonunesp committed Aug 31, 2018
1 parent 8b5e136 commit 98972e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions webclient/src/components/gateway_tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ export default class GatewayTokens extends React.Component {
const tokenOwner = data.tokenOwner.local.toString()
const signature = CryptoUtils.bytesToHexAddr(data.oracleSignature)

console.log(data, tokenOwner, signature)

try {
await this.props.ethGatewayManager.withdrawEthAsync(tokenOwner, amount, signature)

Expand Down
3 changes: 0 additions & 3 deletions webclient/src/eth_managers/eth_gateway_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default class EthGatewayManager {
}

async withdrawCardAsync(address, cardId, sig, contractAddress) {
console.log(address, cardId, sig, contractAddress)
return await this._contract.methods
.withdrawERC721(cardId, sig, contractAddress)
.send({ from: address, gas: '189362' })
Expand All @@ -38,15 +37,13 @@ export default class EthGatewayManager {
}

async withdrawEthAsync(address, amount, sig) {
console.log(this._contract.options.address)
return await this._contract.methods
.withdrawETH(amount, sig)
.send({ from: address, gas: '489362' })
}

async depositEthOnGateway(from, value) {
const to = this._contract.options.address
console.log('from, to, value', from, to, value)
return await this._browserWeb3.eth.sendTransaction({
from,
to,
Expand Down

0 comments on commit 98972e4

Please sign in to comment.