"from" replaced with ".into()"
This commit is contained in:
parent
24378f3c44
commit
9d35cc1881
@ -423,7 +423,7 @@ impl Miner {
|
||||
// Check whether transaction type is allowed for sender
|
||||
let result = match self.engine.machine().verify_transaction(&tx, open_block.header(), chain.as_block_chain_client()) {
|
||||
Err(Error::Transaction(TransactionError::NotAllowed)) => {
|
||||
Err(From::from(TransactionError::NotAllowed))
|
||||
Err(TransactionError::NotAllowed.into())
|
||||
}
|
||||
_ => {
|
||||
open_block.push_transaction(tx, None)
|
||||
|
Loading…
Reference in New Issue
Block a user