Skip to content

Commit

Permalink
add logs to track address
Browse files Browse the repository at this point in the history
  • Loading branch information
jhesgodi committed Mar 1, 2024
1 parent f1e0a1b commit 809278a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const useSmartCheckout = ({
try {
const signer = provider?.getSigner();
const spenderAddress = await signer?.getAddress() || '';
console.log('🚀 ~ spenderAddress:', spenderAddress); // eslint-disable-line
console.log('🚀 ~ fractional check: spenderAddress:', spenderAddress); // eslint-disable-line

const userFractionalBalanceBlocked = await isUserFractionalBalanceBlocked(
spenderAddress,
Expand All @@ -50,6 +50,7 @@ export const useSmartCheckout = ({

const itemRequirements = getItemRequirements(amount, spenderAddress, tokenAddress);
const gasEstimate = getGasEstimate();
console.log('🚀 ~ smartCheckout/itemRequirements:', itemRequirements, gasEstimate, !!provider); // eslint-disable-line
const res = await checkout?.smartCheckout(
{
provider: provider!,
Expand Down

0 comments on commit 809278a

Please sign in to comment.