Skip to content

Commit

Permalink
feat: BuildTransactionErr abstract over builder type (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich authored Oct 12, 2024
1 parent 440ddcb commit 12972e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rpc-types-eth/src/transaction/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1032,9 +1032,9 @@ impl std::error::Error for TransactionInputError {}

/// Error thrown when a transaction request cannot be built into a transaction.
#[derive(Debug)]
pub struct BuildTransactionErr {
pub struct BuildTransactionErr<T = TransactionRequest> {
/// Transaction request that failed to build into a transaction.
pub tx: TransactionRequest,
pub tx: T,
/// Error message.
pub error: String,
}
Expand Down

0 comments on commit 12972e2

Please sign in to comment.