mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Fix non existing transaction error
This commit is contained in:
parent
9918d5ff36
commit
bcfd125b72
@ -197,7 +197,10 @@ export async function orderAsset(
|
|||||||
price,
|
price,
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (!tx) {
|
||||||
|
return
|
||||||
|
}
|
||||||
const txApprove = typeof tx !== 'number' ? await tx.wait() : tx
|
const txApprove = typeof tx !== 'number' ? await tx.wait() : tx
|
||||||
if (!txApprove) {
|
if (!txApprove) {
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user