Skip to content

Commit 6834a64

Browse files
bug fix
1 parent c516584 commit 6834a64

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/flare_ai_defai/blockchain/sparkdex.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,7 @@ def swap_erc20_tokens_tx(self, user: UserInfo, token_in: str, token_out: str, am
389389
"weth": "0x1502FA4be69d526124D453619276FacCab275d3D"
390390
}
391391

392-
ERC20_ABI = """
393-
{
392+
ERC20_ABI = {
394393
"inputs": [
395394
{
396395
"internalType": "address",
@@ -432,7 +431,7 @@ def swap_erc20_tokens_tx(self, user: UserInfo, token_in: str, token_out: str, am
432431
"stateMutability": "view",
433432
"type": "function"
434433
}
435-
"""
434+
436435

437436
SWAP_ROUTER_ABI = [{
438437
"inputs": [

0 commit comments

Comments
 (0)