Browse Source

psstest: add pubkey in message

master
p4u 5 years ago
parent
commit
90182527ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmd/pssTest/psstest.go

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

Loading…
Cancel
Save