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 16
16
package org .tron .common .utils ;
17
17
18
18
import com .google .common .collect .Lists ;
19
- import java .util .Arrays ;
20
19
import java .util .List ;
21
20
import lombok .Getter ;
22
21
import lombok .extern .slf4j .Slf4j ;
@@ -33,6 +32,7 @@ public class LocalWitnesses {
33
32
@ Getter
34
33
private List <String > privateKeys = Lists .newArrayList ();
35
34
35
+ @ Getter
36
36
private byte [] witnessAccountAddress ;
37
37
38
38
public LocalWitnesses () {
@@ -46,13 +46,6 @@ public LocalWitnesses(List<String> privateKeys) {
46
46
setPrivateKeys (privateKeys );
47
47
}
48
48
49
- public byte [] getWitnessAccountAddress () {
50
- if (witnessAccountAddress == null ) {
51
- return null ;
52
- }
53
- return Arrays .copyOf (witnessAccountAddress , witnessAccountAddress .length );
54
- }
55
-
56
49
public void initWitnessAccountAddress (final byte [] witnessAddress ,
57
50
boolean isECKeyCryptoEngine ) {
58
51
if (witnessAddress != null ) {
You can’t perform that action at this time.
0 commit comments