Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: cmilian on December 15, 2014, 04:47:27 AM



Title: Invalid parameter, duplicated address: Any ideas?????
Post by: cmilian on December 15, 2014, 04:47:27 AM
Error trying to send payments with RPC sendmany {"code":-8,"message":"Invalid parameter, duplicated address: PDDfRL3B1fTPqnnWqajdYTSPFwWuTujF28"}

This is breaking my payment, this is NOMP and there someone that is using same wallet for two miners.

Any ideas how I can fix this?

Thanks in advance!


Title: Re: Invalid parameter, duplicated address: Any ideas?????
Post by: DannyHamilton on December 15, 2014, 05:11:08 AM
Any ideas how I can fix this?

Combine the two amounts into a single payment?

Require your users to supply a new address for every transaction?


Title: Re: Invalid parameter, duplicated address: Any ideas?????
Post by: gmaxwell on December 15, 2014, 11:22:43 PM
Combine the amounts. The interface is a dictionary. Your input is not well formed if there is duplication.


Title: Re: Invalid parameter, duplicated address: Any ideas?????
Post by: StephenMorse on March 30, 2015, 04:53:36 AM
We had this in our NOMP pool recently, I wrote up the solution that we used here: http://bitcoin.stackexchange.com/questions/34057/error-trying-to-send-payments-with-rpc-sendmany