block: rename BlockBase to Base

This commit is contained in:
Evgenii Stratonikov 2020-01-15 11:29:50 +03:00
parent 63c56cca5c
commit 489b88afbb
14 changed files with 41 additions and 41 deletions

View file

@ -15,7 +15,7 @@ func TestBlockQueue(t *testing.T) {
bq := newBlockQueue(0, chain, zaptest.NewLogger(t))
blocks := make([]*block.Block, 11)
for i := 1; i < 11; i++ {
blocks[i] = &block.Block{BlockBase: block.BlockBase{Index: uint32(i)}}
blocks[i] = &block.Block{Base: block.Base{Index: uint32(i)}}
}
// not the ones expected currently
for i := 3; i < 5; i++ {