Skip to content

Commit

Permalink
add coinbase field to list
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhson1085 committed Apr 3, 2020
1 parent 3117f56 commit 8c35c92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class RelayerJS {

return {
index: new BigNumber(result[0]).toString(10),
coinbase: node,
owner: result[1],
deposit: new BigNumber(result[2]).toString(10),
tradeFee: result[3],
Expand All @@ -87,8 +88,9 @@ class RelayerJS {
const result = await this.contract.functions.getRelayerByCoinbase(coinbase)
const resign = await this.contract.functions.RESIGN_REQUESTS(coinbase)

ret.push({
ret.push({
index: new BigNumber(result[0]).toString(10),
coinbase: coinbase,
owner: result[1],
deposit: new BigNumber(result[2]).toString(10),
tradeFee: result[3],
Expand Down

0 comments on commit 8c35c92

Please sign in to comment.