Skip to content

Conversation

davidkaplanbitgo
Copy link
Contributor

Add function to verify BIP322 to_sign transaction structure and that inputs reference the correct to_spend transactions for given addresses and messages. Includes test coverage for verifying multiple messages.

TICKET: BTC-2375

Add function to verify BIP322 to_sign transaction structure and that inputs
reference the correct to_spend transactions for given addresses and messages.
Includes test coverage for verifying multiple messages.

BTC-2375

Co-authored-by: llm-git <llm-git@ttll.de>

TICKET: BTC-2375
@davidkaplanbitgo davidkaplanbitgo requested a review from a team as a code owner August 15, 2025 02:11
* @param verificationInfo
* @param network
*/
export function verifyFixedScriptToSignTxWithInfo(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per convention, void funcs that throw are prefixed with assert

Suggested change
export function verifyFixedScriptToSignTxWithInfo(
export function assertValidFixedScriptToSignTxWithInfo(

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.

2 participants