arnaucube
arnaucube/go-dvotePublic Self-hosted repository
psstest: add pubkey in message
p4u p4u@dabax.net
Wed, 13 Mar 2019 15:35:00 +0100
commit

90182527ecc736b2b7e596b16467d2b58af5dd2c

parent

f83815a94ac1eb7ec7008424015f7a40e4d1cb93

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M cmd/pssTest/psstest.go → cmd/pssTest/psstest.go

@@ -53,7 +53,7 @@

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) }