tx.new: fix ETH contract creation regression (bugfix)

Regression was introduced in commit 907bdc2bd
This commit is contained in:
The MMGen Project 2026-02-01 09:11:08 +00:00
commit 74acc44a2c
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -456,7 +456,7 @@ class New(Base):
if self.cfg.comment_file:
self.add_comment(infile=self.cfg.comment_file)
if cmd_args and not do_info:
if not (do_info or self.is_sweep):
cmd_args, addrfile_args = self.get_addrfiles_from_cmdline(cmd_args)
if self.is_swap:
cmd_args = await self.process_swap_cmdline_args(cmd_args, addrfile_args)