From 9436e88d27adb1152607367a1be5ee57e5efadb5 Mon Sep 17 00:00:00 2001 From: lihuafeng <31607114+EighteenZi@users.noreply.github.com> Date: Mon, 9 Apr 2018 17:35:54 +0800 Subject: [PATCH] remove the clone operation of code_cache (#8334) * Some tiny modifications. 1. fix some typo in the comment. 2. sort the order of methods in 'impl state::Backend for StateDB` * Remove the clone of code_cache, as it has been done in clone_basic. --- ethcore/src/state/account.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/ethcore/src/state/account.rs b/ethcore/src/state/account.rs index e08ad7b18..9d72ed158 100755 --- a/ethcore/src/state/account.rs +++ b/ethcore/src/state/account.rs @@ -424,7 +424,6 @@ impl Account { pub fn clone_dirty(&self) -> Account { let mut account = self.clone_basic(); account.storage_changes = self.storage_changes.clone(); - account.code_cache = self.code_cache.clone(); account }