2
1
I work with Java/Maven/JSP app with BitcoinJ and I have transfer about 0.0048 BTC from a testnet faucet. However, after receiving, I see that my account has balance of 480000.00 BTC.
This is the method I have used to get the Satoshi Coin.
public Coin getBalance() {
return balance;
}
I have checked the code and at least my backend part looks normal to me. How to approach to this problem?

How to convert Satoshies to BTC in Java? – Arefe – 2017-05-31T07:51:40.467
What does the
wallet.getBalance()returns? I have tried with several ways and none actually works for me. The method I use to get the Satoshi Coin ispublic Coin getBalance() { return balance; }How can I get the correct value in BTC? I have also tried with
balance.leftShift(8)– Arefe – 2017-06-01T04:21:12.720