Skip to content

Commit

Permalink
Refactors pantheon private key to signing private key (#34)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Richardson <[email protected]>
Signed-off-by: Lucas Saldanha <[email protected]>
  • Loading branch information
josh-richardson authored and lucassaldanha committed Sep 23, 2019
1 parent b8fa2be commit 7294150
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7294150

Please sign in to comment.