diff --git a/basicswap/chainparams.py b/basicswap/chainparams.py index 2ad7827..d6e0f85 100644 --- a/basicswap/chainparams.py +++ b/basicswap/chainparams.py @@ -77,7 +77,7 @@ chainparams = { 'bip44': 1, 'min_amount': 1000, 'max_amount': 100000 * COIN, - 'name': 'testnet4', + 'name': 'testnet3', }, 'regtest': { 'rpcport': 18443, diff --git a/basicswap/http_server.py b/basicswap/http_server.py index fa7c9a7..f341594 100644 --- a/basicswap/http_server.py +++ b/basicswap/http_server.py @@ -139,12 +139,16 @@ class HttpHandler(BaseHTTPRequestHandler): if 'error' in w: content += '
Error: {}
'.format(w['error']) + fee_rate = swap_client.getFeeRateForCoin(k) + tx_vsize = swap_client.getContractSpendTxVSize(k) + est_fee = (fee_rate * tx_vsize) / 1000 content += 'Balance: | ' + w['balance'] + ' | ||
Blocks: | ' + str(w['blocks']) + ' | ||
Synced: | ' + str(w['synced']) + ' | ||
' + str(w['deposit_address']) + ' | |||
Amount: | Address: | Subtract fee: | |
Fee Rate: | ' + format8(fee_rate * COIN) + ' | Est Fee: | ' + format8(est_fee * COIN) + ' |