We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e330a commit 9a46603Copy full SHA for 9a46603
dashkeys.js
@@ -973,8 +973,6 @@ var DashKeys = ("object" === typeof module && exports) || {};
973
974
/** @type {DecodeBase58Check} */
975
_DashKeys.decode = async function (keyB58c, opts) {
976
- console.log("################ found it!");
977
-
978
let _opts = {};
979
if (opts?.version) {
980
switch (opts.version) {
@@ -1035,7 +1033,7 @@ var DashKeys = ("object" === typeof module && exports) || {};
1035
1033
throw new Error(`unknown version ${opts.version}`);
1036
1034
}
1037
1038
- if (opts.versions) {
+ if (opts?.versions) {
1039
Object.assign(_opts, opts);
1040
1041
let parts = await dash58check.decode(keyB58c, _opts);
0 commit comments