added test for hash prefix length

This commit is contained in:
Joe Dowd
2020-08-31 03:27:12 +01:00
parent 88e6c6f93c
commit 2067599843
2 changed files with 42 additions and 1 deletions

View File

@@ -1,5 +1,4 @@
const config = require('../config.js');
const logger = require('./logger.js');
const minimumPrefix = config.minimumPrefix || '3';
const maximumPrefix = config.maximumPrefix || '32'; // Half the hash.