aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-10-03 11:38:31 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-10-03 11:38:31 +0100
commitb7f4bab358ea6de0932037242f71152bfc27c289 (patch)
tree0946c1288588cb0b8cfdcdac136110193b65953a /cmd
parentd32f60249d8e248d8f8334b044e016ee384797aa (diff)
Hopefully fix P2P `--config` error (re. #2756)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dendrite-demo-pinecone/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dendrite-demo-pinecone/main.go b/cmd/dendrite-demo-pinecone/main.go
index da63f9a2..fb988ebe 100644
--- a/cmd/dendrite-demo-pinecone/main.go
+++ b/cmd/dendrite-demo-pinecone/main.go
@@ -89,6 +89,7 @@ func main() {
if configFlagSet {
cfg = setup.ParseFlags(true)
sk = cfg.Global.PrivateKey
+ pk = sk.Public().(ed25519.PublicKey)
} else {
keyfile := filepath.Join(*instanceDir, *instanceName) + ".pem"
if _, err := os.Stat(keyfile); os.IsNotExist(err) {