lib/zold/commands/pay.rb in zold-0.31.2 vs lib/zold/commands/pay.rb in zold-0.31.3
- old
+ new
@@ -80,10 +80,13 @@
'The minimum number of nodes required for a successful fetch (default: 4)',
default: 4
o.bool '--ignore-score-weakness',
'Don\'t complain when their score is too weak (when paying taxes)',
default: false
+ o.bool '--ignore-score-size',
+ 'Don\'t complain when their score is too small (when paying taxes)',
+ default: false
o.bool '--dont-pay-taxes',
'Don\'t pay taxes even if the wallet is in debt',
default: false
o.bool '--pay-taxes-anyway',
'Pay taxes even if the wallet is not in debt',
@@ -139,9 +142,10 @@
'taxes',
'pay',
"--private-key=#{Shellwords.escape(opts['private-key'])}",
opts['pay-taxes-anyway'] ? '--pay-anyway' : '',
opts['ignore-score-weakness'] ? '--ignore-score-weakness' : '',
+ opts['ignore-score-size'] ? '--ignore-score-size' : '',
id.to_s,
"--keygap=#{Shellwords.escape(opts['keygap'])}"
].reject(&:empty?)
)
end