fixed typo

This commit is contained in:
Özgür Kesim 2021-11-18 09:58:05 +01:00
parent 6378f8a80f
commit b9cb91c4e1
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7

View File

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