Skip to content

Commit

Permalink
chore: rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
Vovke committed Oct 29, 2024
1 parent 308abd9 commit 94615cf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/chain/payout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,8 @@ pub async fn payout(

let signature = signer.sign(order.id, sign_this).await?;

if let TypeContentToFill::Variant(ref mut multisig) = batch_transaction.signature.content {
if let TypeContentToFill::ArrayU8(ref mut sr25519) =
multisig.selected.fields_to_fill[0].type_to_fill.content
{
sr25519.content = signature.0.to_vec();
}
}
batch_transaction.signature.content =
TypeContentToFill::SpecialType(SpecialTypeToFill::SignatureSr25519(Some(signature)));

tracing::info!("Batch Transaction: {batch_transaction:?}");

Expand Down

0 comments on commit 94615cf

Please sign in to comment.