|
@ -546,7 +546,8 @@ Json::Value WebThreeStubServerBase::eth_getTransactionByHash(string const& _tran |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
h256 h = jsToFixed<32>(_transactionHash); |
|
|
h256 h = jsToFixed<32>(_transactionHash); |
|
|
return toJson(client()->transaction(h), client()->transactionLocation(h), client()->numberFromHash(h)); |
|
|
auto l = client()->transactionLocation(h); |
|
|
|
|
|
return toJson(client()->transaction(h), l, client()->numberFromHash(l.first)); |
|
|
} |
|
|
} |
|
|
catch (...) |
|
|
catch (...) |
|
|
{ |
|
|
{ |
|
|