aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/feed/update_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/storage/feed/update_test.go')
-rw-r--r--swarm/storage/feed/update_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/storage/feed/update_test.go b/swarm/storage/feed/update_test.go
index 4007223c6..24c09b361 100644
--- a/swarm/storage/feed/update_test.go
+++ b/swarm/storage/feed/update_test.go
@@ -35,7 +35,7 @@ func TestUpdateLengthCheck(t *testing.T) {
testBinarySerializerLengthCheck(t, getTestFeedUpdate())
// Test fail if update is too big
update := getTestFeedUpdate()
- update.data = make([]byte, maxUpdateDataLength+100)
+ update.data = make([]byte, MaxUpdateDataLength+100)
serialized := make([]byte, update.binaryLength())
if err := update.binaryPut(serialized); err == nil {
t.Fatal("Expected update.binaryPut to fail since update is too big")