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 ae80242 commit 0c6ad81Copy full SHA for 0c6ad81
dashhd.js
@@ -615,7 +615,10 @@ var DashHd = ("object" === typeof module && exports) || {};
615
616
xkeyDv.setUint8(0, hdkey.depth);
617
618
- let fingerprint = (hdkey.depth && hdkey.parentFingerprint) || 0x00000000;
+ let fingerprint = 0x00000000;
619
+ if (hdkey.depth > 0) {
620
+ fingerprint = hdkey.parentFingerprint;
621
+ }
622
xkeyDv.setUint32(1, fingerprint, BUFFER_BE);
623
xkeyDv.setUint32(5, hdkey.index, BUFFER_BE);
624
0 commit comments