tdatabase: Correct doc typo. - tordam - A library for peer discovery inside the Tor network
HTML git clone https://git.parazyd.org/tordam
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 0d439d8aa0449fed236a0a5ff5ceedb9d69ff860
DIR parent 9a527aed03c20baa04492e67a4bc6154be1a0294
HTML Author: parazyd <parazyd@dyne.org>
Date: Mon, 8 Mar 2021 01:00:31 +0100
database: Correct doc typo.
Diffstat:
M database.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/database.go b/database.go
t@@ -24,7 +24,8 @@ import (
)
// WritePeersDB marshals the Peers global to JSON and writes to given file.
-// Please note that this should be probably used in conjuction with a semaphore.
+// Please note that this should be probably used in conjunction with some sort
+// of semaphore.
func WritePeersDB(file string) error {
j, err := json.Marshal(Peers)
if err != nil {