mirror of
https://github.com/ok2/coinbin.git
synced 2026-05-09 18:15:23 +02:00
bug fix
This commit is contained in:
+1
-1
@@ -452,7 +452,7 @@
|
||||
|
||||
// derive key from index
|
||||
r.derive = function(i){
|
||||
i = (i)?:0;
|
||||
i = (i)?i:0;
|
||||
var blob = (Crypto.util.hexToBytes(this.keys.pubkey)).concat(coinjs.numToBytes(i,4).reverse());
|
||||
|
||||
var j = new jsSHA(Crypto.util.bytesToHex(blob), 'HEX');
|
||||
|
||||
Reference in New Issue
Block a user