Skip to content

Commit

Permalink
bug fix to update peerList
Browse files Browse the repository at this point in the history
  • Loading branch information
ashi31 authored and arnabghose997 committed Aug 27, 2024
1 parent 823c660 commit bdd3e3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/quorum_initiator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,10 @@ func (c *Core) quorumPledgeFinality(cr *ConensusRequest, newBlock *block.Block,
c.log.Error("Failed to update pledge token status", "msg", pr.BasicResponse.Message)
return fmt.Errorf("failed to update pledge token status")
}
peerList = pr.PeerList

for k, v := range pr.PeerList {
peerList[k] = v
}
}
return nil
}
Expand Down

0 comments on commit bdd3e3e

Please sign in to comment.