diff --git a/ethcore/src/client/client.rs b/ethcore/src/client/client.rs index 02dce97df..24f93ce90 100644 --- a/ethcore/src/client/client.rs +++ b/ethcore/src/client/client.rs @@ -477,10 +477,15 @@ impl Client { results.len() } + // TODO: these are only used for tests in sync and only contribute to huge Client /// Import a locally created transaction. pub fn import_own_transaction(&self, transaction: SignedTransaction) -> Result { self.miner.import_own_transaction(self, transaction) } + /// Set miner author. + pub fn set_author(&self, author: Address) { + self.miner.set_author(author) + } /// Attempt to get a copy of a specific block's final state. ///