crypto: use native checkMerkleBranch.

This commit is contained in:
Christopher Jeffrey 2016-09-12 22:27:28 -07:00
parent 7f31a41e84
commit 8f0d74d563
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -559,6 +559,9 @@ crypto.checkMerkleBranch = function checkMerkleBranch(hash, branch, index) {
return hash;
};
if (native)
crypto.checkMerkleBranch = native.checkMerkleBranch;
/**
* Generate some random bytes.
* @function