Skip to content

Commit 8e02bc4

Browse files
committed
fix
1 parent 9bde761 commit 8e02bc4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cetus_swap.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function transfer(pool: Pool | undefined, amount: number) {
100100
// swap_partner: partner,
101101
},
102102
)
103-
swapPayload.setGasBudget(100000000); // 设置一个较大的预算
103+
// swapPayload.setGasBudget(100000000); // 设置一个较大的预算
104104
const transferTxn = await sdk.fullClient.sendTransaction(signer, swapPayload)
105105
console.log('兑换结果返回::', JSON.stringify(transferTxn))
106106
if (transferTxn && transferTxn.effects && transferTxn.effects.status.status == "success"){
@@ -157,8 +157,6 @@ async function main() {
157157
await transfer(pool, amount)
158158
console.log("\n")
159159
console.log("\n")
160-
console.log("\n")
161-
console.log("\n")
162160
await main(); // 重新提示用户输入
163161
})();
164162
}

0 commit comments

Comments
 (0)