implementing paytomany (untested)
[electrum-nvc.git] / electrum
index c20c3be..b92e6a7 100755 (executable)
--- a/electrum
+++ b/electrum
@@ -338,7 +338,7 @@ if __name__ == '__main__':
         domain = [options.from_addr] if options.from_addr else None
         args = [ 'mktx', args[1], Decimal(args[2]), Decimal(options.tx_fee) if options.tx_fee else None, options.change_addr, domain ]
         
-    elif cmd == 'mksendmanytx':
+    elif cmd in ['paytomany', 'mksendmanytx']:
         domain = [options.from_addr] if options.from_addr else None
         outputs = []
         for i in range(1, len(args), 2):