Commit d71d09fe authored by zeroleak's avatar zeroleak
Browse files

add clientPreHash

parent 912ff290
......@@ -387,9 +387,16 @@ public abstract class CliConfigFile {
BackendApi backendApi) {
String serverUrl = computeServerUrl();
NetworkParameters params = server.getParams();
String clientPreHash = ClientUtils.sha256Hash("clientPreHash" + apiKey);
WhirlpoolWalletConfig config =
new WhirlpoolWalletConfig(
httpClient, stompClientService, persistHandler, serverUrl, params, backendApi);
httpClient,
stompClientService,
persistHandler,
serverUrl,
params,
backendApi,
clientPreHash);
if (!Strings.isEmpty(scode)) {
config.setScode(scode);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment