removed unused code
This commit is contained in:
parent
6c5d431440
commit
95a311faa6
|
@ -65,9 +65,6 @@ pub struct VerificationFlags {
|
||||||
|
|
||||||
/// Making v1-v16 witness program non-standard
|
/// Making v1-v16 witness program non-standard
|
||||||
pub verify_discourage_upgradable_witness_program: bool,
|
pub verify_discourage_upgradable_witness_program: bool,
|
||||||
|
|
||||||
/// Only verify transactions with SIGHASH_FORKID signatures.
|
|
||||||
pub enforce_sighash_fork_id: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl VerificationFlags {
|
impl VerificationFlags {
|
||||||
|
@ -95,10 +92,5 @@ impl VerificationFlags {
|
||||||
self.verify_dersig = value;
|
self.verify_dersig = value;
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn enforce_sighash_fork_id(mut self, value: bool) -> Self {
|
|
||||||
self.enforce_sighash_fork_id = value;
|
|
||||||
self
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue