Skip to content

Commit 9601975

Browse files
feat(core): expose TxInRef in crate root
Exposes TxInRef at the crate root for easy access.
1 parent 40ac8c1 commit 9601975

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub use block::{
1111
pub use block_tree_entry::BlockTreeEntry;
1212
pub use script::{ScriptPubkey, ScriptPubkeyRef};
1313
pub use transaction::{
14-
Transaction, TransactionRef, TxIn, TxOut, TxOutPoint, TxOutPointRef, TxOutRef, Txid,
14+
Transaction, TransactionRef, TxIn, TxInRef, TxOut, TxOutPoint, TxOutPointRef, TxOutRef, Txid,
1515
};
1616

1717
pub use block::{BlockHashExt, BlockSpentOutputsExt, CoinExt, TransactionSpentOutputsExt};

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ impl std::error::Error for KernelError {
113113
pub use crate::core::{
114114
verify, Block, BlockHash, BlockSpentOutputs, BlockSpentOutputsRef, BlockTreeEntry, Coin,
115115
CoinRef, ScriptPubkey, ScriptPubkeyRef, ScriptVerifyError, ScriptVerifyStatus, Transaction,
116-
TransactionRef, TransactionSpentOutputs, TransactionSpentOutputsRef, TxIn, TxOut, TxOutPoint,
117-
TxOutPointRef, TxOutRef,
116+
TransactionRef, TransactionSpentOutputs, TransactionSpentOutputsRef, TxIn, TxInRef, TxOut,
117+
TxOutPoint, TxOutPointRef, TxOutRef,
118118
};
119119

120120
pub use crate::log::{disable_logging, Log, LogCategory, LogLevel, Logger};

0 commit comments

Comments
 (0)