ethcore: add transition flag for transaction permission contract (#9275)
* ethcore: add transition flag for transaction permission contract * ethcore: fix transaction permission contract tests
This commit is contained in:
committed by
Andrew Jones
parent
1f18dbb17c
commit
712101b63d
@@ -343,7 +343,7 @@ impl EthereumMachine {
|
||||
-> Result<(), transaction::Error>
|
||||
{
|
||||
if let Some(ref filter) = self.tx_filter.as_ref() {
|
||||
if !filter.transaction_allowed(header.parent_hash(), t, client) {
|
||||
if !filter.transaction_allowed(header.parent_hash(), header.number(), t, client) {
|
||||
return Err(transaction::Error::NotAllowed.into())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user