We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f9bcd2 commit de4b565Copy full SHA for de4b565
1 file changed
sei-tendermint/types/node_key.go
@@ -60,7 +60,7 @@ func (nk NodeKey) SaveAs(filePath string) error {
60
return err
61
}
62
// Write pubkey in autobahn-compatible format alongside the key file.
63
- pubKeyStr := fmt.Sprintf("node:%v", nk.PubKey().String())
+ pubKeyStr := fmt.Sprintf("node:%s", nk.PubKey().String())
64
pubKeyPath := filepath.Join(filepath.Dir(filePath), "node_pubkey.txt")
65
return os.WriteFile(pubKeyPath, []byte(pubKeyStr), 0600)
66
0 commit comments