From f59cf1afa0e39a7bec96732f9a5bd6014715919a Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Mon, 26 Jun 2017 14:02:25 -0500 Subject: [PATCH] Adding getter/setter to the weight_threshold field --- .../main/java/de/bitsharesmunich/graphenej/Authority.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/graphenej/src/main/java/de/bitsharesmunich/graphenej/Authority.java b/graphenej/src/main/java/de/bitsharesmunich/graphenej/Authority.java index 2224225..3bd4dc2 100644 --- a/graphenej/src/main/java/de/bitsharesmunich/graphenej/Authority.java +++ b/graphenej/src/main/java/de/bitsharesmunich/graphenej/Authority.java @@ -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 keyAuths){ if(keyAuths != null){ for(Address address : keyAuths.keySet()){