compress: set max compress types to 6.

This commit is contained in:
Christopher Jeffrey 2017-07-31 17:15:24 -07:00
parent 57df561299
commit 3fbe8174a4
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -20,7 +20,7 @@ const consensus = require('../protocol/consensus');
* Constants
*/
const COMPRESS_TYPES = 10; // Space for 4 extra.
const COMPRESS_TYPES = 6;
const EMPTY_BUFFER = Buffer.alloc(0);
/**