From 72941508c36f5f7290e7c7f857611ae1defe0a1f Mon Sep 17 00:00:00 2001 From: Josh Richardson Date: Mon, 23 Sep 2019 01:08:03 +0100 Subject: [PATCH] Refactors pantheon private key to signing private key (#34) Signed-off-by: Joshua Richardson Signed-off-by: Lucas Saldanha --- .../besu/tests/acceptance/dsl/privacy/PrivacyNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/privacy/PrivacyNode.java b/acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/privacy/PrivacyNode.java index 2404c4c6ed2..d3b2af22c97 100644 --- a/acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/privacy/PrivacyNode.java +++ b/acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/privacy/PrivacyNode.java @@ -195,7 +195,7 @@ public String getEnclaveKey() { } public String getTransactionSigningKey() { - return besu.keyPair().getPrivateKey().toString(); + return besu.getPrivacyParameters().getSigningKeyPair().orElseThrow().getPrivateKey().toString(); } public void addOtherEnclaveNode(final URI otherNode) {