Unverified Commit 0c4e500f authored by Roman Zeyde's avatar Roman Zeyde
Browse files

Add TODO regarding JSONRPC errors

parent f3ac83a3
......@@ -226,6 +226,7 @@ impl<'a> Connection<'a> {
"blockchain.transaction.get_merkle" => self.blockchain_transaction_get_merkle(&params),
&_ => bail!("unknown method {} {:?}", method, params),
}?;
// TODO: return application errors should be sent to the client
Ok(json!({"jsonrpc": "2.0", "id": id, "result": result}))
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment