From 90182527ecc736b2b7e596b16467d2b58af5dd2c Mon Sep 17 00:00:00 2001 From: p4u Date: Wed, 13 Mar 2019 15:35:00 +0100 Subject: [PATCH] psstest: add pubkey in message --- cmd/pssTest/psstest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pssTest/psstest.go b/cmd/pssTest/psstest.go index f07f0a7..0a7ad7a 100644 --- a/cmd/pssTest/psstest.go +++ b/cmd/pssTest/psstest.go @@ -53,7 +53,7 @@ func main() { for { fmt.Printf("-> Sending %s pss to [%s]\n", kind, key) currentTime := int64(time.Now().Unix()) - err := sn.PssPub(kind, key, topic, fmt.Sprintf("Hello world from %s at %d", hostname, currentTime), "") + err := sn.PssPub(kind, key, topic, fmt.Sprintf("Hello I am %s, time is %d, my pubKey is %s", hostname, currentTime, sn.PssPubKey), "") log.Info("pss sent", "err", err) time.Sleep(10 * time.Second) }