Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coinselect

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coinselect - npm Package Compare versions

Comparing version 3.0.2 to 3.0.5

6

accum.js

@@ -24,4 +24,4 @@ let utils = require('./utils')

// did we bust?
const feeWanted = feeRate * bytesAccum
if (inAccum < outAccum + feeWanted) return { fee: feeWanted }
const feeAccum = feeRate * bytesAccum
if (inAccum < outAccum + feeAccum) return { fee: feeAccum }

@@ -36,3 +36,3 @@ // is it worth an extra output [for change]?

outAccum += valueExtra
outputs.push({ value: valueExtra })
outputs = outputs.concat({ value: valueExtra })

@@ -39,0 +39,0 @@ const fee = inAccum - outAccum

{
"name": "coinselect",
"version": "3.0.2",
"version": "3.0.5",
"description": "A transaction input selection module for bitcoin.",

@@ -46,3 +46,2 @@ "keywords": [

"standard": "*",
"tap-spec": "^4.1.1",
"tape": "^4.5.1"

@@ -49,0 +48,0 @@ },

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