Skip to content

Commit

Permalink
Fix eth_getBalance
Browse files Browse the repository at this point in the history
  • Loading branch information
dcb9 committed Oct 31, 2018
1 parent 063c4c5 commit 3ef545e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/transformer/eth_getBalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ func (p *ProxyETHGetBalance) Request(rawreq *eth.JSONRPCRequest) (interface{}, e
}

// 1 QTUM = 10 ^ 8 Satoshi
return hexutil.EncodeUint64(uint64(balance * 10e8)), nil
return hexutil.EncodeUint64(uint64(balance * 1e8)), nil
}
}

0 comments on commit 3ef545e

Please sign in to comment.