Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
2715a131
Commit
2715a131
authored
Jun 30, 2021
by
袁兴强
Committed by
33cn
Jul 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ut bug
parent
3d3f8465
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
go.mod
go.mod
+1
-1
go.sum
go.sum
+2
-0
privacy_test.go
plugin/dapp/privacy/crypto/privacy_test.go
+2
-2
No files found.
go.mod
View file @
2715a131
...
...
@@ -3,7 +3,7 @@ module github.com/33cn/plugin
go 1.14
require (
github.com/33cn/chain33 v1.65.3-0.20210
630082543-4b01e8ab4246
github.com/33cn/chain33 v1.65.3-0.20210
701072221-e36c055c9424
github.com/BurntSushi/toml v0.3.1
github.com/NebulousLabs/Sia v1.3.7
github.com/NebulousLabs/errors v0.0.0-20181203160057-9f787ce8f69e // indirect
...
...
go.sum
View file @
2715a131
...
...
@@ -9,6 +9,8 @@ dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c/go.mod h1:0PRwlb0D
git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
github.com/33cn/chain33 v1.65.3-0.20210630082543-4b01e8ab4246 h1:QterS7MuW/mXIIqW5xDN5gH8gz2nNIomBwi4LP/6r3w=
github.com/33cn/chain33 v1.65.3-0.20210630082543-4b01e8ab4246/go.mod h1:dLHHc1HwIy1YKmluXIJYGbv/Bet7yR2fyjinXWqLgV4=
github.com/33cn/chain33 v1.65.3-0.20210701072221-e36c055c9424 h1:UabMKI0FDTQxHyoW3W0acKyXUpdVef82Kc6sMVPUo5Y=
github.com/33cn/chain33 v1.65.3-0.20210701072221-e36c055c9424/go.mod h1:dLHHc1HwIy1YKmluXIJYGbv/Bet7yR2fyjinXWqLgV4=
github.com/AndreasBriese/bbloom v0.0.0-20180913140656-343706a395b7/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8=
github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9 h1:HD8gA2tkByhMAwYaFAX9w2l7vxvBQ5NMoxDrkhqhtn4=
github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8=
...
...
plugin/dapp/privacy/crypto/privacy_test.go
View file @
2715a131
...
...
@@ -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
{}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment