removed unused code

This commit is contained in:
Svyatoslav Nikolsky 2017-08-09 10:40:02 +03:00
parent 6c5d431440
commit 95a311faa6
1 changed files with 0 additions and 8 deletions

View File

@ -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
}
} }