Skip to content

Commit

Permalink
tmp: mark tx_in base_weight as pub
Browse files Browse the repository at this point in the history
Not intended to merge.  This is a tmp commit in leui of extended txin.
Since I want to make predict_fee available, I can't do this whithout
refactoring effective_value, and I can't do this refactor until
extended txin currently.
  • Loading branch information
yancyribbens committed Feb 3, 2024
1 parent 96d9ec7 commit f875dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcoin/src/blockdata/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl TxIn {
/// Returns the input base weight.
///
/// Base weight excludes the witness and script.
const BASE_WEIGHT: Weight =
pub const BASE_WEIGHT: Weight =
Weight::from_vb_unwrap(OutPoint::SIZE as u64 + Sequence::SIZE as u64);

/// Returns true if this input enables the [`absolute::LockTime`] (aka `nLockTime`) of its
Expand Down

0 comments on commit f875dd6

Please sign in to comment.