Bitcoin Forum
June 17, 2024, 08:35:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: JsonRPC Payto is not working  (Read 235 times)
allaban (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
September 12, 2017, 02:06:19 PM
 #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?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!