License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2019-11-18 19:05:51 -06:00
parent bf556e2c99
commit 6e1bee3f8a
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -184,7 +184,9 @@ func (m *Miner) mine(ctx context.Context) {
log.Errorf("mining block failed: %s", err)
continue
}
blks = append(blks, b)
if b != nil {
blks = append(blks, b)
}
}
if len(blks) != 0 {