Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
corrected the return type of clear_author
Browse files Browse the repository at this point in the history
  • Loading branch information
vkomenda committed Jul 25, 2019
1 parent af4db18 commit 443825f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpc/src/v1/tests/helpers/miner_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@ impl MinerService for TestMinerService {
}
}

fn clear_author(&self) -> Result<(), AccountError> {
fn clear_author(&self) {
*self.authoring_params.write() = Default::default();
Ok(())
}

fn set_extra_data(&self, extra_data: Bytes) {
Expand Down

0 comments on commit 443825f

Please sign in to comment.