Support bitcoin-abc v0.19.6

This commit is contained in:
The MMGen Project 2019-05-16 09:41:49 +00:00
commit af564ba7a6
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -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