Skip to content

Commit

Permalink
Fix return network donations, when there isn't any donations in other…
Browse files Browse the repository at this point in the history
… network
  • Loading branch information
mohammadranjbarz committed Aug 11, 2024
1 parent 0ca3ecd commit d03c6f2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,12 @@ export const createSmartContractCallAddBatchParams = async (params: {
result,
hashParams
};
} catch (e) {
} catch (e:any){
console.log('createSmartContractCallAddBatchParams error', e)
throw e
return {
result: e.message,
hashParams:''
}
}
}

Expand Down

0 comments on commit d03c6f2

Please sign in to comment.