Merge pull request #1572 from filecoin-project/fix/seed-merge-set-peerid
lotus-seed: preserve first peerid during merge
This commit is contained in:
commit
05df832ae4
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user