Add correct implementation to check unreleased lock using getLocksStatus abi function

This commit is contained in:
RcleydsonR
2023-02-15 15:14:47 -03:00
parent c65a885309
commit b181d380eb
6 changed files with 51 additions and 40 deletions

View File

@@ -23,7 +23,10 @@ const offerValue = ref<string>("");
const pixKeyBuyer = ref<string>("");
// Verificar tipagem
const approveOffer = async (args: { offer: string; postProcessedPixKey: string }) => {
const approveOffer = async (args: {
offer: string;
postProcessedPixKey: string;
}) => {
loading.value = true;
try {
offerValue.value = args.offer;