Skip to content

Commit

Permalink
Merge branch 'master' into v2.0-stable-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
peilun-conflux committed Apr 21, 2023
2 parents 3c30a7e + 7e768f5 commit 854043e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/rpc/types/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ impl LocalizedBlockTrace {
pub struct EpochTrace {
cfx_traces: Vec<LocalizedTrace>,
eth_traces: Vec<EthLocalizedTrace>,
mirror_address_map: HashMap<RpcAddress, H160>,
mirror_address_map: HashMap<H160, RpcAddress>,
}

impl EpochTrace {
Expand All @@ -392,8 +392,8 @@ impl EpochTrace {
if let Action::Call(action) = &t.action {
if action.to.hex_address == *CROSS_SPACE_CONTRACT_ADDRESS {
mirror_address_map.insert(
action.from.clone(),
evm_map(action.from.hex_address).address,
action.from.clone(),
);
}
}
Expand Down

0 comments on commit 854043e

Please sign in to comment.