Skip to content

Commit 1798023

Browse files
committed
fix tss
1 parent 16ada8c commit 1798023

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

x/tss/keeper/signing.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package keeper
22

33
import (
44
"bytes"
5+
"encoding/base64"
56
"encoding/hex"
67
"fmt"
78
"strings"
@@ -143,7 +144,7 @@ func (k Keeper) VerifySignatures(ctx sdk.Context, signingRequest *types.SigningR
143144

144145
for i, signature := range signatures {
145146
sigBytes, _ := hex.DecodeString(signature)
146-
sigHash, _ := hex.DecodeString(signingRequest.SigHashes[i])
147+
sigHash, _ := base64.StdEncoding.DecodeString(signingRequest.SigHashes[i])
147148

148149
switch signingRequest.Type {
149150
case types.SigningType_SIGNING_TYPE_SCHNORR:

0 commit comments

Comments
 (0)