Commit 79def327 authored by David Vorick's avatar David Vorick

quick cleanup

parent e300c235
......@@ -37,7 +37,7 @@ test-long: clean fmt
# cover runs the long tests and creats html files that show you which lines
# have been hit during testing and how many times each line has been hit.
coverpackages = consensus crypto encoding hash network siad
coverpackages = consensus crypto encoding hash modules/hostdb network siad
cover: clean
@mkdir -p cover
@for package in $(coverpackages); do \
......
......@@ -109,7 +109,7 @@ func testEmptyBlock(t *testing.T, s *State) {
// and checks that it actually gets rejected.
func testLargeBlock(t *testing.T, s *State) {
txns := make([]Transaction, 1)
bigData := string(make([]byte, BlockSizeLimit-BlockHeaderSize+1))
bigData := string(make([]byte, BlockSizeLimit))
txns[0] = Transaction{
ArbitraryData: []string{bigData},
}
......
......@@ -8,10 +8,6 @@ import (
"github.com/NebulousLabs/Sia/hash"
)
const (
BlockHeaderSize = 32 + 8 + 8 + 32 + 32
)
type (
Timestamp int64
BlockHeight uint64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment