mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Merge pull request #1793 from oceanprotocol/bugfix/order_fix
Fix non existing transaction error
This commit is contained in:
commit
443d748b3b
@ -220,7 +220,9 @@ export async function orderAsset(
|
||||
price,
|
||||
false
|
||||
)
|
||||
|
||||
if (!tx) {
|
||||
return
|
||||
}
|
||||
const txApprove = typeof tx !== 'number' ? await tx.wait() : tx
|
||||
if (!txApprove) {
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user