merge with master

This commit is contained in:
Robert Habermeier
2016-09-01 15:07:06 +02:00
64 changed files with 718 additions and 724 deletions

View File

@@ -288,7 +288,7 @@ impl Account {
// so we can call overloaded `to_bytes` method
let res = match v.is_zero() {
true => t.remove(k),
false => t.insert(k, &encode(&U256::from(v.as_slice()))),
false => t.insert(k, &encode(&U256::from(&*v))),
};
if let Err(e) = res {