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.
This commit is contained in:
lihuafeng 2018-04-09 17:35:54 +08:00 committed by André Silva
parent 652f5032a2
commit 9436e88d27
1 changed files with 0 additions and 1 deletions

View File

@ -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
}