Merge pull request #1572 from filecoin-project/fix/seed-merge-set-peerid

lotus-seed: preserve first peerid during merge
This commit is contained in:
Łukasz Magiera 2020-04-22 14:42:49 +02:00 committed by GitHub
commit 05df832ae4

View File

@ -182,7 +182,7 @@ func mergeGenMiners(a, b genesis.Miner) genesis.Miner {
return genesis.Miner{ return genesis.Miner{
Owner: a.Owner, Owner: a.Owner,
Worker: a.Worker, Worker: a.Worker,
PeerId: "", PeerId: a.PeerId,
MarketBalance: big.Zero(), MarketBalance: big.Zero(),
PowerBalance: big.Zero(), PowerBalance: big.Zero(),
SectorSize: a.SectorSize, SectorSize: a.SectorSize,