Author

Topic: JsonRPC Payto is not working (Read 258 times)

newbie
Activity: 6
Merit: 0
September 12, 2017, 09:06:19 AM
#1
Hi. I'm using Electrum daemon 2.9.3 with Ubuntu 16.04 and tried the following commands:

Code:
electrum daemon start
Code:
electrum daemon load_wallet -w MY_WALLET_FILE

Code:
curl --data-binary '{"id":"curltext","method":"payto","params":{"destination":"TO_ADDRESS", "amount":"0.001"}}' http://127.0.0.1:7777
And it returns:
Code:
{"error": {"message": "Server error: File \"/usr/local/lib/python2.7/dist-packages/electrum/bitcoin.py\", line 768, in deserialize_xkey | TypeError: object of type 'NoneType' has no len()", "code": -32603}, "jsonrpc": "2.0", "id": "curltext"}

Any idea what is causing this problem?
Jump to: