hw-app-dfi
Advanced tools
Comparing version 7.0.22 to 7.0.23
@@ -367,5 +367,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
console.log(inputTxBuffer.toString("hex")); | ||
console.log(crypto.hash256(inputTxBuffer)); | ||
inputTxid = new Buffer(Buffer.from(inputTx.txId, "hex").reverse()); | ||
console.log(); | ||
inputTxid = crypto.hash256(inputTxBuffer); | ||
console.log(inputTxid); | ||
if (inputTx.txId) { | ||
inputTxid = Buffer.from(Buffer.from(inputTx.txId, "hex").reverse()); // | ||
} | ||
return [4 /*yield*/, this.client.getExtendedPubkey(false, pathElements)]; | ||
@@ -372,0 +375,0 @@ case 1: |
@@ -374,5 +374,8 @@ "use strict"; | ||
console.log(inputTxBuffer.toString("hex")); | ||
console.log(bitcoinjs_lib_1.crypto.hash256(inputTxBuffer)); | ||
inputTxid = new Buffer(Buffer.from(inputTx.txId, "hex").reverse()); | ||
console.log(); | ||
inputTxid = bitcoinjs_lib_1.crypto.hash256(inputTxBuffer); | ||
console.log(inputTxid); | ||
if (inputTx.txId) { | ||
inputTxid = Buffer.from(Buffer.from(inputTx.txId, "hex").reverse()); // | ||
} | ||
return [4 /*yield*/, this.client.getExtendedPubkey(false, pathElements)]; | ||
@@ -379,0 +382,0 @@ case 1: |
{ | ||
"name": "hw-app-dfi", | ||
"version": "7.0.22", | ||
"version": "7.0.23", | ||
"description": "Ledger Hardware Wallet DeFiChain Application API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -381,5 +381,9 @@ import { crypto } from "bitcoinjs-lib"; | ||
console.log(inputTxBuffer.toString("hex")); | ||
console.log(crypto.hash256(inputTxBuffer)); | ||
const inputTxid = new Buffer(Buffer.from(inputTx.txId!, "hex").reverse());// | ||
console.log(); | ||
let inputTxid = crypto.hash256(inputTxBuffer); | ||
console.log(inputTxid); | ||
if (inputTx.txId) { | ||
inputTxid = Buffer.from(Buffer.from(inputTx.txId!, "hex").reverse());// | ||
} | ||
const xpubBase58 = await this.client.getExtendedPubkey(false, pathElements); | ||
@@ -386,0 +390,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3030900
20594