dashed-slug.net › Forums › Monero Wallet Adapter extension support › Invalid number of decimals in deposits › Reply To: Invalid number of decimals in deposits
April 6, 2021 at 11:50 am
#10337
alexg
Keymaster
OK,
Delete the wrong deposit row from your DB. The row will be in the wp_wallets_txs
table.
You can now upgrade the Monero coin adapter to version 1.1.3
.
The wallets_cryptonote_coins
filter now accepts an additional “decimals” argument. See the gist here for an example: https://gist.github.com/alex-georgiou/7181cc71c320cbe078a5623479b0a852
For example, if your coin has 9 decimals, you should set decimals
to 9
, and amount pattern
to %01.9f
.
Hope this helps. As always, let me know if you encounter any problems.
with regards