Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Nov 22, 2023
1 parent efdd2c7 commit b8558b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gateway/resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ impl UnresolvedQuery<'_> {
vec![Token::String(value)]
}
ResolverFunctionCall::AddrMultichain(_bf, chain) => {
let hash = namehash(&self.name).to_fixed_bytes().to_vec();
info!(name = self.name, chain = chain, "Resolution Address Multichain");

info!("Resolving addr record: {:?}", hash);
let hash = namehash(&self.name).to_fixed_bytes().to_vec();

let x = state.db.get_addresses(&hash, &[&chain.to_string()]).await;

Expand All @@ -74,11 +74,11 @@ impl UnresolvedQuery<'_> {
vec![Token::Bytes(bytes)]
}
ResolverFunctionCall::Addr(_bf) => {
info!(name = self.name, "Resolution Address");

let chain = 60;
let hash = namehash(&self.name).to_fixed_bytes().to_vec();

info!("Resolving addr record: {:?}", hash);

let x = state.db.get_addresses(&hash, &[&chain.to_string()]).await;

let value = x
Expand Down

0 comments on commit b8558b7

Please sign in to comment.