From 9726a3e846ff8c1dd16bff0b00ec4e79304e072d Mon Sep 17 00:00:00 2001 From: linuskendall Date: Thu, 22 Jun 2023 10:30:29 +0100 Subject: [PATCH] More cargo fmt --- nft_ingester/src/program_transformers/bubblegum/mint_v1.rs | 3 +-- nft_ingester/src/program_transformers/bubblegum/redeem.rs | 2 +- nft_ingester/src/program_transformers/bubblegum/transfer.rs | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nft_ingester/src/program_transformers/bubblegum/mint_v1.rs b/nft_ingester/src/program_transformers/bubblegum/mint_v1.rs index 61d8571f..f64ffe98 100644 --- a/nft_ingester/src/program_transformers/bubblegum/mint_v1.rs +++ b/nft_ingester/src/program_transformers/bubblegum/mint_v1.rs @@ -321,8 +321,7 @@ where }; task.sanitize(); return task.into_task_data(); - } - //_ => Err(IngesterError::NotImplemented), + } //_ => Err(IngesterError::NotImplemented), }; } Err(IngesterError::ParsingError( diff --git a/nft_ingester/src/program_transformers/bubblegum/redeem.rs b/nft_ingester/src/program_transformers/bubblegum/redeem.rs index b368c30a..01291b92 100644 --- a/nft_ingester/src/program_transformers/bubblegum/redeem.rs +++ b/nft_ingester/src/program_transformers/bubblegum/redeem.rs @@ -4,10 +4,10 @@ use crate::{ save_changelog_event, u32_to_u8_array, upsert_asset_with_leaf_info, }, }; -use solana_program::pubkey::Pubkey; use blockbuster::{instruction::InstructionBundle, programs::bubblegum::BubblegumInstruction}; use log::debug; use sea_orm::{ConnectionTrait, TransactionTrait}; +use solana_program::pubkey::Pubkey; pub async fn redeem<'c, T>( parsing_result: &BubblegumInstruction, diff --git a/nft_ingester/src/program_transformers/bubblegum/transfer.rs b/nft_ingester/src/program_transformers/bubblegum/transfer.rs index 44e3fd87..cd1ceff3 100644 --- a/nft_ingester/src/program_transformers/bubblegum/transfer.rs +++ b/nft_ingester/src/program_transformers/bubblegum/transfer.rs @@ -55,8 +55,7 @@ where seq as i64, ) .await - } - //_ => Err(IngesterError::NotImplemented), + } //_ => Err(IngesterError::NotImplemented), }; } Err(IngesterError::ParsingError(