From 7fd4a6b6d3b89a53ecb277236deb3bca1bcc6ba1 Mon Sep 17 00:00:00 2001 From: Denis Davidyuk Date: Wed, 24 Jan 2024 20:57:23 +0700 Subject: [PATCH] fix: show newly created transactions in list --- LICENSE | 2 +- src/store/plugins/ui/observables.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index a4663dca0..9cb1cecab 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/src/store/plugins/ui/observables.js b/src/store/plugins/ui/observables.js index b23bf2c47..dce08d916 100644 --- a/src/store/plugins/ui/observables.js +++ b/src/store/plugins/ui/observables.js @@ -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; }