diff --git a/src/blockchain/wallet.ts b/src/blockchain/wallet.ts index f7175aa..4f8bf29 100644 --- a/src/blockchain/wallet.ts +++ b/src/blockchain/wallet.ts @@ -75,7 +75,7 @@ const listAllTransactionByWalletAddress = async ( const listReleaseTransactionByWalletAddress = async ( walletAddress: string ): Promise => { - const p2pContract = getContract(); + const p2pContract = getContract(true); const filterReleasedLocks = p2pContract.filters.LockReleased([walletAddress]); const eventsReleasedLocks = await p2pContract.queryFilter( diff --git a/src/components/QrCodeComponent.vue b/src/components/QrCodeComponent.vue index 26751c1..18e50a5 100644 --- a/src/components/QrCodeComponent.vue +++ b/src/components/QrCodeComponent.vue @@ -43,11 +43,11 @@ const validatePix = async (): Promise => { isCodeInputEmpty.value = true; return; } - var sellerPixKey = props.pixTarget; - var transactionValue = props.tokenValue; + const sellerPixKey = props.pixTarget; + const transactionValue = props.tokenValue; if (sellerPixKey && transactionValue) { - var body_req = { + const body_req = { e2e_id: e2eId.value, pix_key: sellerPixKey, pix_value: transactionValue, diff --git a/src/views/FaqView.vue b/src/views/FaqView.vue index 1f2a674..ecbbebe 100644 --- a/src/views/FaqView.vue +++ b/src/views/FaqView.vue @@ -1,5 +1,5 @@