MatthewLM/peercoin-android-wallet

Send coins parameter

Closed this issue · 4 comments

Hello, how are you @MatthewLM when I try to send coins, going only as mHTML balance. I am using version 11.3 of peercoinj and android-wallet too..

When I try to send 10 HTML send 0.1.

What I need to change? I try all and can't change this

Hello, update!
Continue sending only from satoshis, not integer value like 10 coins, when I put 10 he send 0.1, when I put 100 he send 10 coins... So, the wallet that I am trying to send have various numbers, like 10 million coins.
What to do?

Thank you

You need to change the SMALLEST_UNIT_EXPONENT constant in Coin.java to match the number of decimal places for your coin, otherwise the conversion between coin amounts and satoshis will not work.

Ok, I will try this, thank you for your help!

______________ UPDATE _________________

I think that you're talking about the new version of wallet, I am using the peercoinj 11.3 and peercoin-android-wallet version 11.3 too.

This conversion are located in another file?

THank you

Not help me. I continue without format money correct, it's a problem with my parameters I think!