exe/tapyrusrbd in tapyrus-0.1.0 vs exe/tapyrusrbd in tapyrus-0.2.0
- old
+ new
@@ -14,14 +14,14 @@
end
class Tapyrusrbd < Thor
- class_option :network, aliases: '-n', default: :mainnet
+ class_option :network, aliases: '-n', default: :prod
desc 'start', 'start tapyrusrb daemon.'
def start
- network = options['network'] ? options['network'].to_sym : :mainnet
+ network = options['network'] ? options['network'].to_sym : :prod
Tapyrus.chain_params = network
FileUtils.mkdir_p(Tapyrus.base_dir)
execute_daemon(['start', network: network])
end
\ No newline at end of file