Skip to content

Commit

Permalink
Merge pull request #230 from yeousunn/main
Browse files Browse the repository at this point in the history
Correct the log text
  • Loading branch information
yeousunn authored Sep 15, 2023
2 parents ddbf3bf + 743edd4 commit e523792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c-pallets/audit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1106,9 +1106,9 @@ pub mod pallet {
}

fn offchain_work_start(now: BlockNumberOf<T>) -> Result<(), OffchainErr> {
log::info!("get loacl authority...");
log::info!("get local authority...");
let (authority_id, _validators_len) = Self::get_authority()?;
log::info!("get loacl authority success!");
log::info!("get local authority success!");
if !Self::check_working(&now, &authority_id) {
Self::unlock_offchain(&authority_id);
return Err(OffchainErr::Working);
Expand Down

0 comments on commit e523792

Please sign in to comment.