btcrelay-bitcoind
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { BtcBlock } from "crosslightning-base"; | ||
@@ -44,2 +45,3 @@ export type BitcoindBlockType = { | ||
getVersion(): number; | ||
getChainWork(): Buffer; | ||
} |
@@ -46,3 +46,6 @@ "use strict"; | ||
} | ||
getChainWork() { | ||
return Buffer.from(this.chainwork.padStart(64, "0"), "hex"); | ||
} | ||
} | ||
exports.BitcoindBlock = BitcoindBlock; |
{ | ||
"name": "btcrelay-bitcoind", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Connector and synchronizer using bitcoind for bitcoin relay", | ||
@@ -29,5 +29,5 @@ "main": "./dist/index.js", | ||
"bn.js": "^5.2.1", | ||
"crosslightning-base": "^3.0.6", | ||
"crosslightning-base": "^3.0.7", | ||
"typescript": "^4.9.5" | ||
} | ||
} |
@@ -89,2 +89,6 @@ import {BtcBlock} from "crosslightning-base"; | ||
getChainWork(): Buffer { | ||
return Buffer.from(this.chainwork.padStart(64, "0"), "hex"); | ||
} | ||
} |
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
49385
976
Updatedcrosslightning-base@^3.0.7