Skip to content

Commit

Permalink
post-rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Oct 7, 2024
1 parent 8307236 commit 1ab0dee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/api/block.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
use anyhow::Result;
use coinbase_mesh::models::{
AccountIdentifier, Amount, Block, BlockIdentifier, BlockRequest, BlockResponse, Currency, Operation,
OperationIdentifier, PartialBlockIdentifier, Transaction, TransactionIdentifier,
Block, BlockIdentifier, BlockRequest, BlockResponse, Operation, PartialBlockIdentifier, Transaction,
TransactionIdentifier,
};
use convert_case::{Case, Casing};
use serde::Serialize;
use sqlx::FromRow;

Expand Down
7 changes: 4 additions & 3 deletions src/api/search_transactions.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use mesh::models::{
AccountIdentifier, Amount, BlockIdentifier, Currency, OperationIdentifier, Transaction, TransactionIdentifier,
use coinbase_mesh::models::{
AccountIdentifier, Amount, BlockIdentifier, BlockTransaction, Currency, Operation, OperationIdentifier,
SearchTransactionsRequest, SearchTransactionsResponse, Transaction, TransactionIdentifier,
};
pub use mesh::models::{BlockTransaction, Operation, SearchTransactionsRequest, SearchTransactionsResponse};
use serde_json::json;
use sqlx::{FromRow, Type};

Expand Down Expand Up @@ -93,6 +93,7 @@ pub struct UserCommand {
pub creation_fee: Option<String>,
}

#[allow(dead_code)]
#[derive(Debug)]
pub enum OperationType {
FeePayment,
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ pub use commands::*;
pub use config::*;
pub use error::*;
use graphql::GraphQLClient;
pub use mesh::models;
use mesh::models::BlockIdentifier;
pub use operation::*;
use sqlx::PgPool;
pub use types::*;
Expand Down
2 changes: 1 addition & 1 deletion src/operation.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use coinbase_mesh::models::{AccountIdentifier, Amount, Currency, Operation, OperationIdentifier};
use convert_case::{Case, Casing};
use mesh::models::{AccountIdentifier, Amount, Currency, Operation, OperationIdentifier};

use crate::{OperationStatus, OperationType, TransactionStatus};

Expand Down

0 comments on commit 1ab0dee

Please sign in to comment.