Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
shamardy authored Jun 14, 2018
1 parent cfc194c commit da696ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethcore/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,10 +904,10 @@ impl<B: Backend> State<B> {

/// Returns a `StateDiff` describing the difference from `orig` to `self`.
/// Consumes self.
pub fn diff_from<X: Backend>(&self, mut orig: State<X>, transaction_hash: H256) -> trie::Result<StateDiff> {
pub fn diff_from<X: Backend>(&self, mut orig: State<X>) -> trie::Result<StateDiff> {
let pod_state_post = self.to_pod();
let pod_state_pre = orig.to_pod_diff(self)?;
Ok(pod_state::diff_pod(&pod_state_pre, &pod_state_post,transaction_hash))
Ok(pod_state::diff_pod(&pod_state_pre, &pod_state_post))
}

// load required account data from the databases.
Expand Down

0 comments on commit da696ea

Please sign in to comment.