-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi: various cleanups #1019
multi: various cleanups #1019
Conversation
blockchain/accept.go
Outdated
@@ -219,23 +219,6 @@ func ticketsRevokedInBlock(bl *dcrutil.Block) []chainhash.Hash { | |||
return tickets | |||
} | |||
|
|||
// voteBitsInBlock returns a list of vote bits for the voters in this block. | |||
func voteBitsInBlock(bl *dcrutil.Block) []stake.VoteVersionTuple { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already due for removal in a davec PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in #1015.
blockchain/accept.go
Outdated
@@ -219,23 +219,6 @@ func ticketsRevokedInBlock(bl *dcrutil.Block) []chainhash.Hash { | |||
return tickets | |||
} | |||
|
|||
// voteBitsInBlock returns a list of vote bits for the voters in this block. | |||
func voteBitsInBlock(bl *dcrutil.Block) []stake.VoteVersionTuple { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in #1015.
peer/peer_test.go
Outdated
@@ -220,8 +220,6 @@ func TestPeerConnection(t *testing.T) { | |||
if _, ok := msg.(*wire.MsgVerAck); ok { | |||
verack <- struct{}{} | |||
} | |||
pause.Lock() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required. It stops a test logic race that causes intermittent failure.
No description provided.