Merge pull request #228 from ethcore/reversed-trace
Reversed hash in trace
This commit is contained in:
commit
56196dc619
|
@ -579,7 +579,7 @@ impl BlockStapler for Storage {
|
|||
// write accumulated transactions meta
|
||||
try!(context.apply(&self.database));
|
||||
|
||||
trace!(target: "db", "Best block now ({}, {})", &new_best_hash, &new_best_number);
|
||||
trace!(target: "db", "Best block now ({}, {})", &new_best_hash.to_reversed_str(), &new_best_number);
|
||||
// updating locked best block
|
||||
*best_block = Some(BestBlock { hash: new_best_hash, number: new_best_number });
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ impl UpdateContext {
|
|||
|
||||
try!(db.write(self.db_transaction));
|
||||
|
||||
trace!("Applied transaction for block {:?}", &self.target);
|
||||
trace!("Applied transaction for block {:?}", &self.target.to_reversed_str());
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue