Skip to content

Commit de4b565

Browse files
wen-codingmasih
andauthored
Update sei-tendermint/types/node_key.go
Co-authored-by: Masih H. Derkani <m@derkani.org>
1 parent 2f9bcd2 commit de4b565

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sei-tendermint/types/node_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (nk NodeKey) SaveAs(filePath string) error {
6060
return err
6161
}
6262
// Write pubkey in autobahn-compatible format alongside the key file.
63-
pubKeyStr := fmt.Sprintf("node:%v", nk.PubKey().String())
63+
pubKeyStr := fmt.Sprintf("node:%s", nk.PubKey().String())
6464
pubKeyPath := filepath.Join(filepath.Dir(filePath), "node_pubkey.txt")
6565
return os.WriteFile(pubKeyPath, []byte(pubKeyStr), 0600)
6666
}

0 commit comments

Comments
 (0)