Skip to content

Commit d34e8ff

Browse files
committed
fix: correct parameter order for testnet key name and uint32
1 parent 9bccca8 commit d34e8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashhd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ var DashHd = ("object" === typeof module && exports) || {};
708708
* @param {Number} testInt - DashHd.TESTNET.private|DashHd.TESTNET.publi c
709709
* @returns {[String, Number]}
710710
*/
711-
function _versionToTuple(version, mainStr, mainInt, testInt, testStr) {
711+
function _versionToTuple(version, mainStr, mainInt, testStr, testInt) {
712712
let isMainnet = version === mainStr || version === "mainnet";
713713
let isTestnet = version === testStr || version === "testnet";
714714
if (isMainnet) {

0 commit comments

Comments
 (0)