重命名旧的默克根计算函数

This commit is contained in:
徐稼生 2018-12-28 15:35:35 +00:00
parent e968ea686f
commit 15c35c803f

View File

@ -350,7 +350,7 @@ module.exports = {
,
randomUuid:uuid.v4
,
getMerkleRoot:function(hashList, option){
getMerkleHash:function(hashList, option){
// merkle算法略有难度暂时用最简单的hash代替
if(Array.isArray(hashList)){
option=option||{}