Skip to content

Commit

Permalink
Update log in core.
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Nov 12, 2023
1 parent 0097d5c commit 78b4bc2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/relayer/src/abis/account_handler.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/relayer/src/abis/token_registry.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/relayer/src/abis/unclaims_handler.rs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion packages/relayer/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,14 @@ pub(crate) async fn handle_email<P: EmailsPool>(
tx_claimer.send(claim)?;
}
} else {
trace!("Normal email");
trace!("Non-reply email");
if let Ok(account_key_hex) =
extract_account_key_from_subject(&parsed_email.get_subject_all()?)
{
info!(
"account_key {} is found in the non-reply email",
account_key_hex
);
let account_key = AccountKey(hex2field(&account_key_hex)?);
if !db.contains_user(&from_address).await? {
let email_hash = calculate_default_hash(&email);
Expand Down
4 changes: 2 additions & 2 deletions packages/scripts/src/abis/token_registry.rs

Large diffs are not rendered by default.

0 comments on commit 78b4bc2

Please sign in to comment.