Skip to content

Commit

Permalink
SFT-2887: doubled spacing in address stylization, stylized change
Browse files Browse the repository at this point in the history
addresses
  • Loading branch information
mjg-foundation committed Dec 19, 2023
1 parent a3c2c72 commit 7d74f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def render_change_text(self):
continue
# print('idx: {} output:{}'.format(idx, self.chain.render_address(tx_out.scriptPubKey)))
total += tx_out.nValue
addrs.append(self.chain.render_address(tx_out.scriptPubKey))
addrs.append(stylize_address(self.chain.render_address(tx_out.scriptPubKey)))

if len(addrs) == 0:
msg.write('\nNo change')
Expand Down
2 changes: 1 addition & 1 deletion ports/stm32/boards/Passport/modules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ def stylize_address(address):
if i % 16 == 0:
stylized += '\n'
else:
stylized += ' '
stylized += ' '
block += address[i]
stylized += recolor(colors[color_index], block)

Expand Down

0 comments on commit 7d74f01

Please sign in to comment.