aboutsummaryrefslogtreecommitdiffstats
path: root/http.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-10-22 21:58:24 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-10-22 21:58:24 +0800
commitea3048421fb54abd98f610d79294634015d0e58e (patch)
tree73d19cdd2ea4fcc5aaa554c6af93f8a4bf367c2c /http.js
parent5cd93a061889b0f2b9047ed6798f91aeb132dcea (diff)
downloaddexon-ea3048421fb54abd98f610d79294634015d0e58e.tar
dexon-ea3048421fb54abd98f610d79294634015d0e58e.tar.gz
dexon-ea3048421fb54abd98f610d79294634015d0e58e.tar.bz2
dexon-ea3048421fb54abd98f610d79294634015d0e58e.tar.lz
dexon-ea3048421fb54abd98f610d79294634015d0e58e.tar.xz
dexon-ea3048421fb54abd98f610d79294634015d0e58e.tar.zst
dexon-ea3048421fb54abd98f610d79294634015d0e58e.zip
block, transaction, uncle by hash and number separately
Diffstat (limited to 'http.js')
-rw-r--r--http.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/http.js b/http.js
index 88869c689..4f6296d08 100644
--- a/http.js
+++ b/http.js
@@ -4,7 +4,6 @@
this.host = host;
};
- //TODO unify the format of object passed to 'send method'
function formatJsonRpcObject(object) {
return {
jsonrpc: '2.0',
@@ -14,7 +13,6 @@
}
};
- //TODO unify the format of output messages, maybe there should be objects instead
function formatJsonRpcMessage(message) {
var object = JSON.parse(message);