1
0

getfeerate command: add optional parameters to specify custom fee level (#4264)

This commit is contained in:
ghost43
2018-06-15 17:02:44 +02:00
committed by GitHub
parent 2cc15fca57
commit a98e833897
3 changed files with 59 additions and 14 deletions

View File

@@ -260,7 +260,9 @@ class Daemon(DaemonThread):
password = config_options.get('password')
new_password = config_options.get('new_password')
config = SimpleConfig(config_options)
# FIXME this is ugly...
config.fee_estimates = self.network.config.fee_estimates.copy()
config.mempool_fees = self.network.config.mempool_fees.copy()
cmdname = config.get('cmd')
cmd = known_commands[cmdname]
if cmd.requires_wallet: