Skip to content

Commit

Permalink
fix infinite recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
TalDerei committed Nov 30, 2024
1 parent 36e9e5e commit e434fa4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/core/transaction/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,12 @@ impl From<Transaction> for pbt::Transaction {

impl From<&Transaction> for pbt::Transaction {
fn from(msg: &Transaction) -> Self {
msg.into()
Transaction {
transaction_body: msg.transaction_body.clone(),
anchor: msg.anchor.clone(),
binding_sig: msg.binding_sig.clone(),
}
.into()
}
}

Expand Down

0 comments on commit e434fa4

Please sign in to comment.