Address Service: Fixed HASH_TYPES_MAP naming issue

This commit is contained in:
Braydon Fuller 2016-01-11 16:51:00 -05:00
parent 8d2f69c5fd
commit 188ff28ec7

View File

@ -161,7 +161,7 @@ exports.decodeInputValueMap = function(buffer) {
};
exports.encodeSummaryCacheKey = function(address) {
return Buffer.concat([address.hashBuffer, constants.HASH_TYPES_BUFFER[address.type]]);
return Buffer.concat([address.hashBuffer, constants.HASH_TYPES_MAP[address.type]]);
};
exports.decodeSummaryCacheKey = function(buffer, network) {