lib/zold/commands/taxes.rb in zold-0.16.27 vs lib/zold/commands/taxes.rb in zold-0.16.28
- old
+ new
@@ -22,10 +22,11 @@
require 'slop'
require 'json'
require 'rainbow'
require 'zold/score'
+require_relative 'thread_badge'
require_relative 'args'
require_relative 'pay'
require_relative '../log'
require_relative '../json_page'
require_relative '../id'
@@ -49,10 +50,12 @@
#
# Taxes are paid from wallet to wallet, not from clients to nodes. A wallet
# just selects the most suitable wallet to transfer taxes to and sends
# the payment. More details you can find in the White Paper.
class Taxes
- def initialize(wallets:, remotes:, log: Log::Quiet.new)
+ prepend ThreadBadge
+
+ def initialize(wallets:, remotes:, log: Log::NULL)
@wallets = wallets
@remotes = remotes
@log = log
end