From a71c3c6039b8bf49a11abc724f5b65fe5cf183be Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 28 Jan 2015 10:11:02 -0800 Subject: [PATCH] Fixes #879. --- libweb3jsonrpc/WebThreeStubServerBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweb3jsonrpc/WebThreeStubServerBase.cpp b/libweb3jsonrpc/WebThreeStubServerBase.cpp index 31f128be8..35848cf78 100644 --- a/libweb3jsonrpc/WebThreeStubServerBase.cpp +++ b/libweb3jsonrpc/WebThreeStubServerBase.cpp @@ -62,7 +62,7 @@ static Json::Value toJson(dev::eth::Transaction const& _t) res["hash"] = toJS(_t.sha3()); res["input"] = jsFromBinary(_t.data()); res["to"] = toJS(_t.receiveAddress()); - res["from"] = toJS(_t.sender()); + res["from"] = toJS(_t.safeSender()); res["gas"] = (int)_t.gas(); res["gasPrice"] = toJS(_t.gasPrice()); res["nonce"] = toJS(_t.nonce());