Skip to content

Conversation

bigspider
Copy link
Collaborator

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.70%. Comparing base (e6fa5ea) to head (1e2b392).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #314   +/-   ##
========================================
  Coverage    84.70%   84.70%           
========================================
  Files           17       17           
  Lines         2230     2230           
========================================
  Hits          1889     1889           
  Misses         341      341           
Flag Coverage Δ
unittests 84.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

bigspider and others added 10 commits September 4, 2025 11:50
- Compute internal_inputs_total_amount
- Allow sign_psbt to continue even if no wallet_policy is specified
- Disable checks that do not make sense if no wallet policy is present
- Fail if sighash is not ALL/DEFAULT
- Don't fail if no input is internal to the wallet policy (needed when
  the derived app is signing a transaction with custom inputs only)
- Delete swap-related checks
- Delete display_transaction and related functions
- Add weak functions validate_and_display_transaction and sign_custom_inputs to allow derived apps to hook into the signing flow
)

only custom inputs.

The way the code was written, the signing flow would be skipped if
there is no internal inputs that can be signed with the wallet
policy. This is incorrect, as some apps might need to sign such
transactions.

This also removes the logic related to MuSig2, which is anyway
disabled and therefore redundant.
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.

3 participants