Skip to content

Commit

Permalink
Merge branch 'develop' into v3.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Jul 17, 2024
2 parents 01dbc36 + 8f89f61 commit 3561ea7
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 3561ea7

Please sign in to comment.