mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-28 11:49:39 -05:00
Got invalid public key: {public_key}
This commit is contained in:
@@ -131,7 +131,7 @@ impl PublicKeyValidator for PeripheryPublicKeyValidator<'_> {
|
||||
&& public_key != expected
|
||||
{
|
||||
Err(
|
||||
anyhow!("Invalid public key '{public_key}'")
|
||||
anyhow!("Got invalid public key: {public_key}")
|
||||
.context("Ensure public key matches configured Periphery Public Key")
|
||||
.context("Core failed to validate Periphery public key"),
|
||||
)
|
||||
|
||||
@@ -159,7 +159,7 @@ impl PublicKeyValidator for CorePublicKeyValidator {
|
||||
&& &public_key != expected_public_key
|
||||
{
|
||||
Err(
|
||||
anyhow!("Invalid public key '{public_key}'")
|
||||
anyhow!("Got invalid public key: {public_key}")
|
||||
.context("Ensure public key matches 'core_public_key' in periphery config (PERIPHERY_CORE_PUBLIC_KEY)")
|
||||
.context("Periphery failed to validate Core public key"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user