core: fix typo in function doc-comment

This commit is contained in:
Evgenii Stratonikov 2020-04-08 13:39:09 +03:00
parent 89d1f7ce75
commit 90a08986d6

View file

@ -446,7 +446,7 @@ func (bc *Blockchain) processHeader(h *block.Header, batch storage.Batch, header
return nil
}
// bc.GetHeaderHash(int(endHeight)) returns sum of all system fees for blocks up to h.
// getSystemFeeAmount returns sum of all system fees for blocks up to h.
// and 0 if no such block exists.
func (bc *Blockchain) getSystemFeeAmount(h util.Uint256) uint32 {
_, sf, _ := bc.dao.GetBlock(h)