mirror of
https://github.com/arnaucube/go-dvote.git
synced 2026-02-28 05:26:46 +01:00
Testing raw
This commit is contained in:
@@ -28,10 +28,12 @@ func main() {
|
||||
|
||||
kind := os.Args[1]
|
||||
topic := "vocdoni_test"
|
||||
var key string
|
||||
key := ""
|
||||
|
||||
if kind == "sym" || kind == "asym" {
|
||||
key = os.Args[2]
|
||||
if kind == "sym" || kind == "asym" || kind == "raw" {
|
||||
if kind != "raw" {
|
||||
key = os.Args[2]
|
||||
}
|
||||
sn.PssSub(kind, key, topic, "")
|
||||
defer sn.PssTopics[topic].Unregister()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user