From b9cb91c4e13765816bddaf1a73eda0d4a32b0c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Thu, 18 Nov 2021 09:58:05 +0100 Subject: [PATCH] fixed typo --- cmd/taler-auditor-offline-signing/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/taler-auditor-offline-signing/main.go b/cmd/taler-auditor-offline-signing/main.go index 151c3af..d35bc18 100644 --- a/cmd/taler-auditor-offline-signing/main.go +++ b/cmd/taler-auditor-offline-signing/main.go @@ -434,7 +434,7 @@ type Output []SignOperation type SignOperation struct { Operation string `json:"operation"` Arguments struct { - HDenumPub SHA512Hash `json:"h_denum_pub"` + HDenomPub SHA512Hash `json:"h_denom_pub"` AuditorSig EdDSASignature `json:"auditor_sig"` } `json:"arguments"` } @@ -600,7 +600,7 @@ func Sign(input *Input, url string, pk ed25519.PrivateKey) ([]SignOperation, err output[i].Operation = "auditor-sign-denomination-0" hash, sig := SignDenom(&denom, sha512.Sum512(append([]byte(url), 0)), &input.Arguments.MasterPublicKey, &pk) - output[i].Arguments.HDenumPub = hash + output[i].Arguments.HDenomPub = hash output[i].Arguments.AuditorSig = sig }