fancoder / cryptonote-universal-pool

Mining pool for all CryptoNote based coins such as Bytecoin, duckNote, Monero, and Fantomcoin.
http://cryptonotemining.org
GNU General Public License v2.0
335 stars 308 forks source link

Payments issue - Wrong amount #47

Open gjnardoni opened 7 years ago

gjnardoni commented 7 years ago

Hello. I've setted up a pool and everything is working fine but payments to miners saying "Wrong amount" on looger.- The currency parameters are:

2017-07-03 10:26:09 [payments] Error with transfer RPC request to wallet daemon {"code":-4,"message":"Wrong amount"} 2017-07-03 10:26:09 [payments] Payments failed to send to {"amount":241362000000000,"address":"auc146AdaMKeXpQHyX3UeFBqZYM2nqw12eKGUuXAJ1b6K8k4XbYMeRDTCWowNPwai4VEyWM2onLQkdoryRsKaoG35hB8wscNaJ"} 2017-07-03 10:26:09 [payments] Payments splintered and 0 successfully sent, 1 failed

I think it is something related to ./lib/paymentProcessor.js but I don't think where to find exactly.

Could you please lend me a hand?

nidscom commented 6 years ago

Hi. Im having same issue. Code-4 Wrong Amount. My coin is 8 decimal too. No problem when i tried with 12 decimal coin. Is this a bug or did i configure it wrong?

wildnrg commented 6 years ago

having the same problems

wildnrg commented 6 years ago

I have found the solution to this problem I changed "maxTransactionAmount": 0 to "maxTransactionAmount": 500000000000000

nidscom commented 6 years ago

I will try later. Thanks.