Skip to content

Commit

Permalink
fix: show newly created transactions in list
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jan 24, 2024
1 parent b693be8 commit 7fd4a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License

Copyright (c) 2023, aeternity developers
Copyright (c) 2024, aeternity developers

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion src/store/plugins/ui/observables.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export default (store) => {
while (next) {
// eslint-disable-next-line no-await-in-loop
const tx = await fetchMdwTransactions({ next });
if (firstHash === tx.data[0].hash) return [];
if (firstHash === tx.data[0].hash) return data;
data.push(tx.data[0]);
next = tx.next;
}
Expand Down

0 comments on commit 7fd4a6b

Please sign in to comment.