diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-09-05 10:32:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 10:32:25 +0800 |
commit | 41641e10286dd7b1fdcced6a51157e061d545ef5 (patch) | |
tree | 69129be3df35d7abde7b94ef5ceec828787b3498 /core/agreement_test.go | |
parent | 04a63a22a24abaaa91b1d981e6d95260d80dadf4 (diff) | |
download | dexon-consensus-41641e10286dd7b1fdcced6a51157e061d545ef5.tar.gz dexon-consensus-41641e10286dd7b1fdcced6a51157e061d545ef5.tar.zst dexon-consensus-41641e10286dd7b1fdcced6a51157e061d545ef5.zip |
misc: Polish BA. (#94)
Diffstat (limited to 'core/agreement_test.go')
-rw-r--r-- | core/agreement_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/agreement_test.go b/core/agreement_test.go index aafd1ed..4f6ec5b 100644 --- a/core/agreement_test.go +++ b/core/agreement_test.go @@ -32,15 +32,15 @@ type agreementTestReceiver struct { s *AgreementTestSuite } -func (r *agreementTestReceiver) proposeVote(vote *types.Vote) { +func (r *agreementTestReceiver) ProposeVote(vote *types.Vote) { r.s.voteChan <- vote } -func (r *agreementTestReceiver) proposeBlock(block common.Hash) { +func (r *agreementTestReceiver) ProposeBlock(block common.Hash) { r.s.blockChan <- block } -func (r *agreementTestReceiver) confirmBlock(block common.Hash) { +func (r *agreementTestReceiver) ConfirmBlock(block common.Hash) { r.s.confirmChan <- block } |