update smart contract

This commit is contained in:
brunoedcf
2022-12-27 18:15:46 -03:00
parent 788132509b
commit cdea930c8a
5 changed files with 383 additions and 20 deletions

View File

@@ -34,6 +34,7 @@ const approveOffer = async ({ offer, pixKey }: any) => {
};
const sendNetwork = async () => {
console.log("OIOI");
loading.value = true;
try {
if (offerValue.value && pixKeyBuyer.value) {
@@ -41,7 +42,9 @@ const sendNetwork = async () => {
flowStep.value = Step.Sell;
loading.value = false;
}
} catch {
} catch (err) {
console.log("Erro");
console.log(err);
flowStep.value = Step.Network;
loading.value = false;
}