Finish a TODO in the message headers tests.
This commit is contained in:
parent
d1edbf1f0b
commit
a4c5c620c6
1 changed files with 1 additions and 2 deletions
|
@ -50,8 +50,7 @@ func TestHeaders(t *testing.T) {
|
|||
for i := 0; i < btcwire.MaxBlockHeadersPerMsg+1; i++ {
|
||||
err = msg.AddBlockHeader(bh)
|
||||
}
|
||||
// TODO(davec): Check for actual error.
|
||||
if err == nil {
|
||||
if reflect.TypeOf(err) != reflect.TypeOf(&btcwire.MessageError{}) {
|
||||
t.Errorf("AddBlockHeader: expected error on too many headers " +
|
||||
"not received")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue