Skip to content

Commit

Permalink
return back the stake value in ToValidatorInitAPIBinding (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitomir2 authored Jul 23, 2024
1 parent ee91798 commit 76f1851
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/polybft/validator/genesis_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func (v GenesisValidator) ToValidatorInitAPIBinding() (*contractsapi.ValidatorIn
Addr: v.Address,
Pubkey: pubKey.ToBigInt(),
Signature: signBigInts,
Stake: new(big.Int).Set(v.Stake),
}, nil
}

Expand Down

0 comments on commit 76f1851

Please sign in to comment.