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 Aug 27, 2019
1 parent 32c54b8 commit 64d6cb5
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 @@ -133,9 +133,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 64d6cb5

Please sign in to comment.