Comparing version 0.6.3 to 0.6.4
18
index.js
@@ -39,5 +39,4 @@ /** | ||
var HOSTED_NODES = [ | ||
"https://eth3.augur.net", | ||
"https://eth4.augur.net", | ||
"https://eth5.augur.net" | ||
// "https://morden-state.ether.camp/api/v1/transaction/submit" | ||
"https://eth3.augur.net" | ||
]; | ||
@@ -169,5 +168,5 @@ | ||
var results, len, err; | ||
// if (response && response.error) { | ||
// console.log("response:", JSON.stringify(response, null, 2)); | ||
// } | ||
if (response && response.error) { | ||
console.log("response:", JSON.stringify(response, null, 2)); | ||
} | ||
try { | ||
@@ -531,3 +530,4 @@ if (response && typeof response === "string") { | ||
// if (command.method === "eth_sendRawTransaction") { | ||
// nodes = ["http://frontier-lb.ether.camp/"].concat(nodes); | ||
// console.log("command:", JSON.stringify(command)); | ||
// nodes = ["https://morden-state.ether.camp/api/v1/transaction/submit"].concat(nodes); | ||
// } | ||
@@ -841,6 +841,6 @@ | ||
sendRawTx: function (rawTx, f) { | ||
return this.broadcast(this.marshal("sendRawTransaction", rawTx), f); | ||
return this.broadcast(this.marshal("sendRawTransaction", abi.prefix_hex(rawTx)), f); | ||
}, | ||
sendRawTransaction: function (rawTx, f) { | ||
return this.broadcast(this.marshal("sendRawTransaction", rawTx), f); | ||
return this.broadcast(this.marshal("sendRawTransaction", abi.prefix_hex(rawTx)), f); | ||
}, | ||
@@ -847,0 +847,0 @@ |
{ | ||
"name": "ethrpc", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "Ethereum JSON RPC", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
613508
11337