Skip to content

Commit

Permalink
Merge pull request #1941 from skalenetwork/develop
Browse files Browse the repository at this point in the history
New beta
  • Loading branch information
DmytroNazarenko authored Jul 10, 2024
2 parents 044b2b9 + 8f89f61 commit 7647ca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libconsensus
6 changes: 2 additions & 4 deletions libweb3jsonrpc/JsonHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ Json::Value toJson( dev::eth::Transaction const& _t, std::pair< h256, unsigned >
res["to"] = _t.isCreation() ? Json::Value() : toJS( _t.receiveAddress() );
res["from"] = toJS( _t.safeSender() );
res["gas"] = toJS( _t.gas() );
if ( _t.txType() != dev::eth::TransactionType::Type2 )
res["gasPrice"] = toJS( _t.gasPrice() );
res["gasPrice"] = toJS( _t.gasPrice() );
res["nonce"] = toJS( _t.nonce() );
res["value"] = toJS( _t.value() );
res["blockHash"] = toJS( _location.first );
Expand Down Expand Up @@ -344,8 +343,7 @@ Json::Value toJson( dev::eth::Transaction const& _t ) {
res["to"] = _t.isCreation() ? Json::Value() : toJS( _t.to() );
res["from"] = toJS( _t.from() );
res["gas"] = toJS( _t.gas() );
if ( _t.txType() != dev::eth::TransactionType::Type2 )
res["gasPrice"] = toJS( _t.gasPrice() );
res["gasPrice"] = toJS( _t.gasPrice() );
res["value"] = toJS( _t.value() );
res["data"] = toJS( _t.data(), 32 );
res["nonce"] = toJS( _t.nonce() );
Expand Down

0 comments on commit 7647ca5

Please sign in to comment.