Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
satawatnack committed Jun 7, 2024
1 parent 9a612c1 commit bd52970
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func convertSigningResultToSigningInfo(res *tsstypes.SigningResult) SigningInfo
}

return SigningInfo{
SigningID: res.Signing.ID,
Message: res.Signing.Message,
PubKey: res.Signing.GroupPubKey,
PubNonce: res.Signing.GroupPubNonce,
Expand Down
2 changes: 2 additions & 0 deletions client/types.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package client

import (
"github.com/bandprotocol/chain/v2/pkg/tss"
bandtsstypes "github.com/bandprotocol/chain/v2/x/bandtss/types"
oracletypes "github.com/bandprotocol/chain/v2/x/oracle/types"
tsstypes "github.com/bandprotocol/chain/v2/x/tss/types"
Expand All @@ -27,6 +28,7 @@ func (s SigningResult) IsReady() bool {

// SigningInfo contains signing information.
type SigningInfo struct {
SigningID tss.SigningID
Message []byte
EVMSignature tsstypes.EVMSignature
Status tsstypes.SigningStatus
Expand Down

0 comments on commit bd52970

Please sign in to comment.