mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
Fix withdrawal error.
This commit is contained in:
@@ -12,7 +12,7 @@ from enum import IntEnum, auto
|
||||
from sqlalchemy.ext.declarative import declarative_base
|
||||
|
||||
|
||||
CURRENT_DB_VERSION = 8
|
||||
CURRENT_DB_VERSION = 9
|
||||
Base = declarative_base()
|
||||
|
||||
|
||||
|
||||
@@ -265,7 +265,8 @@ class HttpHandler(BaseHTTPRequestHandler):
|
||||
messages.append('Error: Missing type')
|
||||
|
||||
if len(messages) == 0:
|
||||
ticker = swap_client.getTicker(c)
|
||||
ci = swap_client.ci(c)
|
||||
ticker = ci.ticker()
|
||||
if c == Coins.PART:
|
||||
try:
|
||||
txid = swap_client.withdrawParticl(type_from, type_to, value, address, subfee)
|
||||
|
||||
Reference in New Issue
Block a user