Address Service: Fixed HASH_TYPES_MAP naming issue
This commit is contained in:
parent
8d2f69c5fd
commit
188ff28ec7
@ -161,7 +161,7 @@ exports.decodeInputValueMap = function(buffer) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.encodeSummaryCacheKey = function(address) {
|
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) {
|
exports.decodeSummaryCacheKey = function(buffer, network) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user