crypto: use native checkMerkleBranch.
This commit is contained in:
parent
7f31a41e84
commit
8f0d74d563
@ -559,6 +559,9 @@ crypto.checkMerkleBranch = function checkMerkleBranch(hash, branch, index) {
|
||||
return hash;
|
||||
};
|
||||
|
||||
if (native)
|
||||
crypto.checkMerkleBranch = native.checkMerkleBranch;
|
||||
|
||||
/**
|
||||
* Generate some random bytes.
|
||||
* @function
|
||||
|
||||
Loading…
Reference in New Issue
Block a user