New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

crosslightning-solana

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crosslightning-solana - npm Package Compare versions

Comparing version 3.6.0 to 3.6.1

2

package.json
{
"name": "crosslightning-solana",
"version": "3.6.0",
"version": "3.6.1",
"description": "Solana specific base implementation",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -120,3 +120,3 @@ import {AnchorProvider, BN, BorshCoder, EventParser, Program} from "@coral-xyz/anchor";

if(storedCommitments.has(commitHash)) {
storedHeader = new SolanaBtcStoredHeader(log.data.header);
storedHeader = new SolanaBtcStoredHeader(log.data.header as any);
break;

@@ -171,4 +171,4 @@ }

if(log.name==="StoreFork" || log.name==="StoreHeader") {
if(Buffer.from(log.data.commitHash).equals(spvCommitmentHash)) {
storedHeader = new SolanaBtcStoredHeader(log.data.header);
if(Buffer.from(log.data.commitHash as any).equals(spvCommitmentHash)) {
storedHeader = new SolanaBtcStoredHeader(log.data.header as any);
break;

@@ -269,3 +269,3 @@ }

try {
const blockHashHex = Buffer.from(acc.tipBlockHash).reverse().toString("hex");
const blockHashHex = Buffer.from(acc.tipBlockHash as any).reverse().toString("hex");
console.log("[BtcRelaySynchronizer]: Stored tip hash: ", blockHashHex);

@@ -575,3 +575,3 @@ const isInMainChain = await this.bitcoinRpc.isInMainChain(blockHashHex);

let forkId: BN = mainState.forkCounter.toNumber();
let forkId: number = mainState.forkCounter.toNumber();

@@ -578,0 +578,0 @@ let tx = new Transaction();

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc