lib/zold/commands/pay.rb in zold-0.14.13 vs lib/zold/commands/pay.rb in zold-0.14.14
- old
+ new
@@ -79,10 +79,10 @@
amount = Amount.new(zld: mine[2].to_f)
details = mine[3] || '-'
if Tax.new(from).in_debt? && !opts['dont-pay-taxes']
require_relative 'taxes'
Taxes.new(wallets: @wallets, remotes: @remotes, log: @log).run(
- ['taxes', "--private-key=#{opts['private-key']}", id.to_s]
+ ['taxes', 'pay', "--private-key=#{opts['private-key']}", id.to_s]
)
end
pay(from, invoice, amount, details, opts)
return if opts['skip-propagate']
require_relative 'propagate'