txbump: display outputs in raw order [bugfix]
- required when user manually chooses output to deduct the fee from
This commit is contained in:
parent
4b55f1158e
commit
e379926042
3 changed files with 4 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
16.1.dev1
|
||||
16.1.dev2
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ async def main():
|
|||
|
||||
if not silent:
|
||||
msg(green('ORIGINAL TRANSACTION'))
|
||||
msg(orig_tx.info.format(terse=True))
|
||||
msg(orig_tx.info.format(terse=True, sort='raw'))
|
||||
|
||||
from .tw.ctl import TwCtl
|
||||
tx = BumpTX(
|
||||
|
|
@ -199,7 +199,7 @@ async def main():
|
|||
|
||||
if not silent:
|
||||
msg(green('\nREPLACEMENT TRANSACTION:'))
|
||||
msg_r(tx.info.format(terse=True))
|
||||
msg_r(tx.info.format(terse=True, sort='raw'))
|
||||
|
||||
if sign_and_send:
|
||||
tx2 = UnsignedTX(cfg=cfg, data=tx.__dict__)
|
||||
|
|
|
|||
|
|
@ -782,7 +782,7 @@ class CmdTestMain(CmdTestBase, CmdTestShared):
|
|||
t = self.spawn('mmgen-txbump', args)
|
||||
if seed_args:
|
||||
t.do_decrypt_ka_data(pw=self.cfgs['14']['kapasswd'])
|
||||
t.expect('deduct the fee from (Hit ENTER for the change output): ', '1\n')
|
||||
t.expect('deduct the fee from (Hit ENTER for the change output): ', '2\n')
|
||||
# Fee must be > tx_fee + network relay fee (currently 0.00001)
|
||||
t.expect('OK? (Y/n): ', '\n')
|
||||
t.expect('Enter transaction fee: ', self.txbump_fee+'\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue