good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit ad198aee authored by Jaynti Kanani's avatar Jaynti Kanani
Browse files

bor validator set

parent e522930b
Branches
Tags
No related merge requests found
......@@ -59,8 +59,8 @@ func (v *Validator) String() string {
if v == nil {
return "nil-Validator"
}
return fmt.Sprintf("Validator{%v VP:%v A:%v}",
v.Address,
return fmt.Sprintf("Validator{%v Power:%v Priority:%v}",
v.Address.Hex(),
v.VotingPower,
v.ProposerPriority)
}
......
......@@ -39,10 +39,12 @@ contract BorValidatorSet is ValidatorSet {
/// Get current validator set (last enacted or initial if no changes ever made) with current stake.
function getValidators() external view returns (address[] memory, uint256[] memory) {
address[] memory d = new address[](1);
address[] memory d = new address[](2);
d[0] = 0x9fB29AAc15b9A4B7F17c3385939b007540f4d791;
uint256[] memory p = new uint256[](1);
d[1] = 0x96C42C56fdb78294F96B0cFa33c92bed7D75F96a;
uint256[] memory p = new uint256[](2);
p[0] = 10;
p[1] = 20;
return (d, p);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment