Fix comment on transaction version

This commit is contained in:
Antoine Riard 2018-12-19 20:56:39 -05:00 committed by Sebastian Geisler
parent 5a5158e120
commit 96c66292c8
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ impl Default for TxOut {
/// for 0-input transactions, which results in unambiguously parseable transactions.
#[derive(Clone, PartialEq, Eq, Debug, Hash)]
pub struct Transaction {
/// The protocol version, should always be 1.
/// The protocol version, is currently expected to be 1 or 2 (BIP 68).
pub version: u32,
/// Block number before which this transaction is valid, or 0 for
/// valid immediately.