diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-15 15:45:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-15 15:45:34 +0800 |
commit | d554efde81d4385158c039f906e213bcdfd0313b (patch) | |
tree | 419b393c5533a2784ab46dca735cae526816044e /core/agreement_test.go | |
parent | e9a1d3bca8353ee206d262ab1fad2d7e3e0b24a5 (diff) | |
download | dexon-consensus-d554efde81d4385158c039f906e213bcdfd0313b.tar dexon-consensus-d554efde81d4385158c039f906e213bcdfd0313b.tar.gz dexon-consensus-d554efde81d4385158c039f906e213bcdfd0313b.tar.bz2 dexon-consensus-d554efde81d4385158c039f906e213bcdfd0313b.tar.lz dexon-consensus-d554efde81d4385158c039f906e213bcdfd0313b.tar.xz dexon-consensus-d554efde81d4385158c039f906e213bcdfd0313b.tar.zst dexon-consensus-d554efde81d4385158c039f906e213bcdfd0313b.zip |
core: add whether to report to VerifyPSig (#572)
* core: add whether to report to VerifyPSig
* fixup
Diffstat (limited to 'core/agreement_test.go')
-rw-r--r-- | core/agreement_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/agreement_test.go b/core/agreement_test.go index 0854c7e..b784560 100644 --- a/core/agreement_test.go +++ b/core/agreement_test.go @@ -34,8 +34,8 @@ type agreementTestReceiver struct { agreementIndex int } -func (r *agreementTestReceiver) VerifyPartialSignature(*types.Vote) bool { - return true +func (r *agreementTestReceiver) VerifyPartialSignature(*types.Vote) (bool, bool) { + return true, false } func (r *agreementTestReceiver) ProposeVote(vote *types.Vote) { |