Skip to content

Commit

Permalink
Trim hash on startup display
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Aug 24, 2018
1 parent fee48cc commit e8b9e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client-chains/src/index.ts
Expand Up @@ -69,7 +69,7 @@ export default class Chain implements ChainInterface {
const bestHash = this.blocks.bestHash.get();
const bestNumber = this.blocks.bestNumber.get();

l.log(`${this.chain.name}, best #${bestNumber.toString()} ${u8aToHex(bestHash)}`);
l.log(`${this.chain.name}, #${bestNumber.toString()}, ${u8aToHex(bestHash, 48)}`);
}

// TODO We should load chains from json files as well
Expand Down

0 comments on commit e8b9e59

Please sign in to comment.