diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-08 14:34:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 14:34:52 +0800 |
commit | 5c77127c863beff906eddbb285ba99b8af83eab0 (patch) | |
tree | fde89a2fd17a2963bf4b21af55b4c2357cbef030 /core/utils/utils.go | |
parent | 9d56c7175ed6ae2e97a161d950764efc60123963 (diff) | |
download | tangerine-consensus-5c77127c863beff906eddbb285ba99b8af83eab0.tar.gz tangerine-consensus-5c77127c863beff906eddbb285ba99b8af83eab0.tar.zst tangerine-consensus-5c77127c863beff906eddbb285ba99b8af83eab0.zip |
core/utils: fix verifyDKGComplaint bug (#472)
* core/utils: fix verifydkgcomplaint bug
* fix test
Diffstat (limited to 'core/utils/utils.go')
-rw-r--r-- | core/utils/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils/utils.go b/core/utils/utils.go index 203f57f..220240c 100644 --- a/core/utils/utils.go +++ b/core/utils/utils.go @@ -98,7 +98,7 @@ func VerifyDKGComplaint( if err != nil { return false, err } - return ok, nil + return !ok, nil } // LaunchDummyReceiver launches a go routine to receive from the receive |