From 777f4201a510767de80937ee8841a1ce91e7d206 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Sun, 7 Jun 2020 17:32:03 +0000 Subject: [PATCH] test.py regtest: support Bitcoin Core v0.20.0 --- mmgen/daemon.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mmgen/daemon.py b/mmgen/daemon.py index 6c71c6ea..8742f493 100755 --- a/mmgen/daemon.py +++ b/mmgen/daemon.py @@ -451,7 +451,10 @@ class BitcoinDaemon(CoinDaemon): if self.platform == 'linux' and not 'no_daemonize' in self.flags: self.daemonize_args = ['--daemon'] - if self.daemon_id == 'bch': + if self.daemon_id == 'btc': + if self.network == 'regtest': + self.coin_specific_coind_args = ['--fallbackfee=0.0002'] + elif self.daemon_id == 'bch': self.coin_specific_coind_args = ['--usecashaddr=0'] elif self.daemon_id == 'ltc': self.coin_specific_coind_args = ['--mempoolreplacement=1']