Skip to content

Commit

Permalink
fixup! psbt: Implement un/ser of musig2 fields
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed Jan 21, 2025
1 parent 9fffaa8 commit d375396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/psbt.h
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ struct PSBTInput
participants.emplace_back(Span{part_key_bytes});
}
if (!s_val.empty()) {
throw std::ios_base::failure("Input musig2 particiapnts pubkeys value size is not a multiple of 33")
throw std::ios_base::failure("Input musig2 particiapnts pubkeys value size is not a multiple of 33");
}

m_musig2_participants.emplace(agg_key, participants);
Expand Down Expand Up @@ -1063,7 +1063,7 @@ struct PSBTOutput
participants.emplace_back(Span{part_key_bytes});
}
if (!s_val.empty()) {
throw std::ios_base::failure("Input musig2 particiapnts pubkeys value size is not a multiple of 33")
throw std::ios_base::failure("Input musig2 particiapnts pubkeys value size is not a multiple of 33");
}

m_musig2_participants.emplace(agg_key, participants);
Expand Down

0 comments on commit d375396

Please sign in to comment.