fix typo
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
bf556e2c99
commit
6e1bee3f8a
@ -184,8 +184,10 @@ func (m *Miner) mine(ctx context.Context) {
|
||||
log.Errorf("mining block failed: %s", err)
|
||||
continue
|
||||
}
|
||||
if b != nil {
|
||||
blks = append(blks, b)
|
||||
}
|
||||
}
|
||||
|
||||
if len(blks) != 0 {
|
||||
btime := time.Unix(int64(blks[0].Header.Timestamp), 0)
|
||||
|
Loading…
Reference in New Issue
Block a user