Skip to content

Commit

Permalink
Merge pull request #2064 from yangzhe1990/base32_rpc
Browse files Browse the repository at this point in the history
Rpc receipts log doesn't fill in the correct network type.
  • Loading branch information
peilun-conflux authored Jan 29, 2021
2 parents 1b5113e + 9febbf3 commit 9f57d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/rpc/types/receipt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Receipt {
contract_created: address,
logs: logs
.into_iter()
.map(|l| Log::try_from(l, cfx_addr::Network::Main))
.map(|l| Log::try_from(l, network))
.collect::<Result<_, _>>()?,
logs_bloom: log_bloom,
state_root: maybe_state_root
Expand Down

0 comments on commit 9f57d42

Please sign in to comment.