Skip to content

Commit 41584a9

Browse files
author
crzypatchwork
committed
swap v2
1 parent 4746ce3 commit 41584a9

File tree

1 file changed

+2
-2
lines changed
  • src/pages/objkt-display/tabs

1 file changed

+2
-2
lines changed

src/pages/objkt-display/tabs/swap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export const Swap = ({ total_amount, owners, creator, royalties, token_info, add
4747
console.log(acc.address, royalties, parseFloat(price) * 1000000, id, creator.address, parseFloat(amount))
4848

4949
if (currency === 'tez') {
50-
//swapv2(acc.address, royalties, parseFloat(price) * 1000000, id, creator.address, parseFloat(amount))
51-
swap(parseFloat(amount), id, parseFloat(price) * 1000000)
50+
swapv2(acc.address, royalties, parseFloat(price) * 1000000, id, creator.address, parseFloat(amount))
51+
//swap(parseFloat(amount), id, parseFloat(price) * 1000000)
5252
.then((e) => {
5353
// when taquito returns a success/fail message
5454
//setProgress(false)

0 commit comments

Comments
 (0)