aboutsummaryrefslogtreecommitdiff
path: root/cmd/tmp/submit/main.go
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-04-29 15:31:45 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-04-29 22:16:22 +0200
commit203e2144f67269e879716e6406bb78e8e3728938 (patch)
treefed67be13cb7dfe903eb61c2d9f87ea3333f4ee5 /cmd/tmp/submit/main.go
parentcb5c579ae46ee0570f2f32408e0427f989bd33ab (diff)
change verification_key to public_key
Issue: #40
Diffstat (limited to 'cmd/tmp/submit/main.go')
-rw-r--r--cmd/tmp/submit/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/tmp/submit/main.go b/cmd/tmp/submit/main.go
index ff7a353..5699945 100644
--- a/cmd/tmp/submit/main.go
+++ b/cmd/tmp/submit/main.go
@@ -41,7 +41,7 @@ func main() {
}
sig := ed25519.Sign(priv, msg.ToBinary())
- fmt.Printf("echo \"shard_hint=%d\nmessage=%x\nsignature=%x\nverification_key=%x\ndomain_hint=%s\" | curl --data-binary @- %s/sigsum/v0/add-leaf\n",
+ fmt.Printf("echo \"shard_hint=%d\nmessage=%x\nsignature=%x\npublic_key=%x\ndomain_hint=%s\" | curl --data-binary @- %s/sigsum/v0/add-leaf\n",
*shardHint,
p[:],
sig,