Skip to content

Commit 0c0e0dd

Browse files
committed
fix: lint
1 parent 4b417fa commit 0c0e0dd

4 files changed

Lines changed: 4 additions & 989 deletions

File tree

pkg/mpc/node.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ func (p *Node) CreateCMPSession(
155155
pl := pool.NewPool(0)
156156
session := taurus.NewCmpParty(walletID, selfPartyID, allPartyIDs, threshold, pl, adapter, p.keyinfoStore, p.kvstore)
157157
if act == taurus.ActSign || act == taurus.ActReshare {
158-
session.LoadKey(walletID)
158+
err := session.LoadKey(walletID)
159+
if err != nil {
160+
return nil, err
161+
}
159162
}
160163

161164
return session, nil

0 commit comments

Comments
 (0)