File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
chainbase/src/main/java/org/tron/common/utils Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1616package org .tron .common .utils ;
1717
1818import com .google .common .collect .Lists ;
19- import java .util .Arrays ;
2019import java .util .List ;
2120import lombok .Getter ;
2221import lombok .extern .slf4j .Slf4j ;
@@ -33,6 +32,7 @@ public class LocalWitnesses {
3332 @ Getter
3433 private List <String > privateKeys = Lists .newArrayList ();
3534
35+ @ Getter
3636 private byte [] witnessAccountAddress ;
3737
3838 public LocalWitnesses () {
@@ -46,13 +46,6 @@ public LocalWitnesses(List<String> privateKeys) {
4646 setPrivateKeys (privateKeys );
4747 }
4848
49- public byte [] getWitnessAccountAddress () {
50- if (witnessAccountAddress == null ) {
51- return null ;
52- }
53- return Arrays .copyOf (witnessAccountAddress , witnessAccountAddress .length );
54- }
55-
5649 public void initWitnessAccountAddress (final byte [] witnessAddress ,
5750 boolean isECKeyCryptoEngine ) {
5851 if (witnessAddress != null ) {
You can’t perform that action at this time.
0 commit comments