commit 9bb8956b87665e1fecb6fc571c945f4e57264521
parent b09d277a62c117829556cc1bebbcecb2dd269a91
Author: Mikolai Gütschow <mikolai.guetschow@tu-dresden.de>
Date: Mon, 3 Feb 2025 09:44:59 +0100
-fix computation of coin envelope hash
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/draft-guetschow-taler-protocol.md b/draft-guetschow-taler-protocol.md
@@ -397,7 +397,7 @@ where `msg` is formed as follows:
~~~
commit = reserve.pub
| bigEndianAmount(sum(*denom.value)) | bigEndianAmount(sum(*denom.fee_withdrawal))
- | SHA-512( *SHA-512(SHA-512(denom.pub) | SHA-512(bigEndian(32, 0x1) | b | bytes(b))) )
+ | SHA-512( *SHA-512(SHA-512(denom.pub) | bigEndian(32, 0x1) | b) )
| bigEndian(32, 0x00) | bigEndian(32, 0x00)
msg = bigEndian(32, 40) | bigEndian(32, 1200) /* TALER_SIGNATURE_WALLET_RESERVE_WITHDRAW */
| SHA-512(commit)