mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
DevEnv: Add static getDevPrivilegePubKeys() method
This commit is contained in:
parent
e7cb152e11
commit
8a978a2c14
@ -19,6 +19,9 @@ package bisq.common.app;
|
||||
|
||||
import bisq.common.config.Config;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@ -35,6 +38,10 @@ public class DevEnv {
|
||||
@Getter
|
||||
private static final String DEV_PRIVILEGE_PRIV_KEY = "6ac43ea1df2a290c1c8391736aa42e4339c5cb4f110ff0257a13b63211977b7a";
|
||||
|
||||
public static List<String> getDevPrivilegePubKeys() {
|
||||
return Collections.singletonList(DEV_PRIVILEGE_PUB_KEY);
|
||||
}
|
||||
|
||||
public static void setup(Config config) {
|
||||
DevEnv.setDevMode(config.useDevMode);
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ public class FilterManager {
|
||||
this.ignoreDevMsg = ignoreDevMsg;
|
||||
|
||||
publicKeys = useDevPrivilegeKeys ?
|
||||
Collections.singletonList(DevEnv.getDEV_PRIVILEGE_PUB_KEY()) :
|
||||
DevEnv.getDevPrivilegePubKeys() :
|
||||
List.of("0358d47858acdc41910325fce266571540681ef83a0d6fedce312bef9810793a27",
|
||||
"029340c3e7d4bb0f9e651b5f590b434fecb6175aeaa57145c7804ff05d210e534f",
|
||||
"034dc7530bf66ffd9580aa98031ea9a18ac2d269f7c56c0e71eca06105b9ed69f9");
|
||||
|
Loading…
Reference in New Issue
Block a user