Skip to content

Commit

Permalink
pyclient: sort notes when listing
Browse files Browse the repository at this point in the history
  • Loading branch information
dtebbs committed Dec 16, 2019
1 parent 45c1aa6 commit a75a594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyClient/zeth/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _decode_basename(filename: str) -> Tuple[int, str, EtherValue]:

def _decoded_note_filenames(self) -> Iterator[Tuple[int, str, EtherValue]]:
wildcard = join(self.wallet_dir, f"note_{self.username}_*")
filenames = glob.glob(wildcard)
filenames = sorted(glob.glob(wildcard))
for filename in filenames:
try:
yield self._decode_basename(basename(filename))
Expand Down

0 comments on commit a75a594

Please sign in to comment.