]> Cypherpunks.ru repositories - nncp.git/commitdiff
Fix max Noise payload size
authorSergey Matveev <stargrave@stargrave.org>
Mon, 9 Jan 2017 07:57:16 +0000 (10:57 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 9 Jan 2017 07:57:16 +0000 (10:57 +0300)
src/cypherpunks.ru/nncp/sp.go

index 0de65d5633cef375091d45a40da29b4a025841e7..8e5562e4ec7be96b6d6a7d8b97f6876c97a75653 100644 (file)
@@ -36,7 +36,7 @@ import (
 )
 
 const (
-       MaxSPSize        = 2<<15 - 256
+       MaxSPSize        = 2<<16 - 256
        PartSuffix       = ".part"
        DeadlineDuration = 10
 )