Browse Source

Support bitcoin-abc v0.19.6

MMGen 5 years ago
parent
commit
af564ba7a6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mmgen/tx.py

+ 2 - 1
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