OSDN Git Service

feat(spanner): support vapor
[bytom/bytom-spanner.git] / btmsender / btmsender.py
index d3e1bd9..cf682b5 100755 (executable)
@@ -3,5 +3,7 @@ from . import transaction
 
 
 def sender():
-    path, account_id, password, output_count, use_unconfirmed, time_range = validation.validate_input()
-    transaction.handle_input(path, account_id, password, output_count, use_unconfirmed, time_range)
+    node_address, file_path, account_id, password, output_count, use_unconfirmed, time_range = validation.validate_input()
+    btmsender = \
+        transaction.BTMSender(node_address, file_path, account_id, password, output_count, use_unconfirmed, time_range)
+    btmsender.handle_input()