fix typo
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
bf556e2c99
commit
6e1bee3f8a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user