Skip to content

Commit

Permalink
bugfix for account pool genblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
viteshan committed Nov 15, 2018
1 parent 54e2c5c commit 7aa4ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool/account_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ func genBlocks(cp *chainPool, bs []*accountPoolBlock) ([]commonBlock, *forkedCha
if err != nil {
return nil, nil, err
}
newChain.addHead(tmp)
newChain.addHead(b)
}
}
result = append(result, b)
Expand Down

0 comments on commit 7aa4ebc

Please sign in to comment.