We actually produce an invalid JSON error at the moment: bitcoin-cli complains "JSON value is not an integer as expected" rather than returning the given error. Make our error a valid JSON RPC error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
3.8 KiB
3.8 KiB