Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Set the setprods schedule without the BIOS node.
Browse files Browse the repository at this point in the history
  • Loading branch information
abourget committed May 23, 2018
1 parent 3b805af commit 8b5a257
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bios/ops.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,10 @@ func (op *OpSetProds) Actions(b *BIOS) (out []*eos.Action, err error) {
// }}

prodkeys := []system.ProducerKey{}
for _, prod := range b.ShuffledProducers {
for idx, prod := range b.ShuffledProducers {
if idx == 0 {
continue
}
targetKey := prod.Discovery.TargetAppointedBlockProducerSigningKey
targetAcct := prod.Discovery.TargetAccountName
if targetAcct == AN("eosio") {
Expand Down

0 comments on commit 8b5a257

Please sign in to comment.