Adding getter/setter to the weight_threshold field
This commit is contained in:
parent
ea0bab5179
commit
f59cf1afa0
1 changed files with 8 additions and 0 deletions
|
@ -59,6 +59,14 @@ public class Authority implements GrapheneSerializable {
|
|||
this.account_auths = new HashMap<>();
|
||||
}
|
||||
|
||||
public long getWeightThreshold() {
|
||||
return weight_threshold;
|
||||
}
|
||||
|
||||
public void setWeightThreshold(long weight_threshold) {
|
||||
this.weight_threshold = weight_threshold;
|
||||
}
|
||||
|
||||
public void setKeyAuthorities(HashMap<Address, Long> keyAuths){
|
||||
if(keyAuths != null){
|
||||
for(Address address : keyAuths.keySet()){
|
||||
|
|
Loading…
Reference in a new issue