From af564ba7a65af29ceb4e65ceddbc95e9a20811ec Mon Sep 17 00:00:00 2001 From: MMGen Date: Thu, 16 May 2019 09:41:49 +0000 Subject: [PATCH] Support bitcoin-abc v0.19.6 --- mmgen/tx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mmgen/tx.py b/mmgen/tx.py index f3eeea67..e70ce41a 100755 --- a/mmgen/tx.py +++ b/mmgen/tx.py @@ -545,7 +545,8 @@ Selected non-{pnm} inputs: {{}}""".strip().format(pnm=g.proj_name,pnl=g.proj_nam rel_fee = ret['feerate'] if 'feerate' in ret else -2 fe_type = 'estimatesmartfee' except: - rel_fee = g.rpch.estimatefee(opt.tx_confs) + rel_fee = g.rpch.estimatefee() if g.coin=='BCH' and g.rpch.daemon_version >= 190100 \ + else g.rpch.estimatefee(opt.tx_confs) fe_type = 'estimatefee' return rel_fee,fe_type