Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Vovke committed Oct 29, 2024
1 parent 68d19f5 commit af277a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/chain/payout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ 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 {
if let TypeContentToFill::ArrayU8(ref mut sr25519) =
multisig.selected.fields_to_fill[0].type_to_fill.content
{
sr25519.content = signature.0.to_vec();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ mod signer;
mod state;
mod utils;

use crate::error::ChainError;
use arguments::{CliArgs, Config, SeedEnvVars, DATABASE_DEFAULT};
use chain::ChainManager;
use database::ConfigWoChains;
use error::{Error, PrettyCause};
use signer::Signer;
use state::State;
use crate::error::ChainError;

fn main() -> ExitCode {
let shutdown_notification = ShutdownNotification::new();
Expand Down

0 comments on commit af277a2

Please sign in to comment.