Skip to content

Commit

Permalink
fix ut bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yxq committed Jun 30, 2021
1 parent 48ecd46 commit 590729c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/dapp/privacy/crypto/privacy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ func (mock *privKeyMock) Bytes() []byte {
return formatByte32([]byte("1234"))
}

func (mock *privKeyMock) Sign(msg []byte) crypto.Signature {
func (mock *privKeyMock) Sign(msg []byte, _ ...interface{}) crypto.Signature {
return &signatureMock{}
}

func (mock *privKeyMock) PubKey() crypto.PubKey {
func (mock *privKeyMock) PubKey(_ ...interface{}) crypto.PubKey {
return &pubKeyMock{}
}

Expand Down

0 comments on commit 590729c

Please sign in to comment.