electrum-server icon indicating copy to clipboard operation
electrum-server copied to clipboard

blockchain.transaction.broadcast returns errors in result

Open jprupp opened this issue 10 years ago • 0 comments

Errors are expected to show up in the error field of the resulting JSON object, and not in result.

Example

{"id": 6, "result": "{u'message': u'TX rejected', u'code': -22}"}

Expected

{"id": 6, "error": {"message": "TX rejected", "code": -22}}

jprupp avatar Jul 07 '14 10:07 jprupp