fix some comments

pull/10/head
Minh Doan 7 years ago
parent adcf962987
commit d205f5dbb3
  1. 2
      blockchain/blockchain.go
  2. BIN
      harmony-benchmark

@ -12,7 +12,7 @@ type Blockchain struct {
const genesisCoinbaseData = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks" const genesisCoinbaseData = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
// Get the latest block at the end of the chain // GetLatestBlock gests the latest block at the end of the chain
func (bc *Blockchain) GetLatestBlock() *Block { func (bc *Blockchain) GetLatestBlock() *Block {
if len(bc.Blocks) == 0 { if len(bc.Blocks) == 0 {
return nil return nil

Binary file not shown.
Loading…
Cancel
Save