Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a utility method to remove signatures from a bitcoin transaction #2728

Merged
merged 6 commits into from
Sep 26, 2024

Conversation

marcos-iov
Copy link
Contributor

Description

Motivation and Context

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • Tests for the changes have been added (for bug fixes / features)
  • Requires Activation Code (Hard Fork)
  • Other information:

@marcos-iov marcos-iov requested a review from a team as a code owner September 13, 2024 15:59
julia-zack and others added 6 commits September 26, 2024 14:32
Rename variables

Modify method to just remove signatures from non-segwit transactions

Modify message from thrown exception to be more accurate

Add indentation to improve readability
Remove unnecessary import

resolve comments
… inputs or without inputs with p2sh multisig script sig. Rename.

Reorder blank lines

Rename scriptSig to inputScript

Set network parameters at bridge support class level to avoid duplication code
…of updateScriptWithSignature

Add [methodName] when logging. Use getSigInsertionIndex to make method more realistic. Remove error being thrown when tx has no inputs.

Remove unused import
Copy link

sonarcloud bot commented Sep 26, 2024

@josedahlquist josedahlquist merged commit 2c00b2f into master Sep 26, 2024
11 checks passed
@marcos-iov marcos-iov deleted the remove-signatures branch September 26, 2024 18:25
@aeidelman aeidelman added this to the Arrowhead 6.4.0 milestone Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants