From 9820692cd9ddac1091837e2ad9b81ab851b656d2 Mon Sep 17 00:00:00 2001 From: DwCay Date: Wed, 13 Jul 2022 15:39:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B0=D0=B4=D1=80=D0=B5=D1=81=D1=81=20=D0=B0=D0=BA?= =?UTF-8?q?=D0=BA=D0=B0=D1=83=D0=BD=D1=82=D0=B0=20=D1=81=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D1=88=D0=B8=D0=B2=D1=88=D0=B5=D0=B3=D0=BE=20=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=D0=B7=D0=B0=D0=BA=D1=86=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/store.js | 6 +++++- src/store/transactionsStore.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/store/store.js b/src/store/store.js index c9a084e..82b1c69 100644 --- a/src/store/store.js +++ b/src/store/store.js @@ -39,13 +39,17 @@ class Store { } fetchTransactionsInfo() { - fetchWrapper.getAuth(`http://3.125.47.101/api/account/transactions/b444b7ff3118cf2a30cbd54cfcdb8fd5d805017a?moduleID=1001&assetID=11`, { + fetchWrapper.getAuth(`http://3.125.47.101/api/account/transactions/${this.accountMadeTransaction}?moduleID=1001&assetID=11`, { networkIdentifier: this.nodeInfo.networkIdentifier, lastBlockID: this.nodeInfo.lastBlockID }) .then((res)=>this.saveInfoTransactions(res)) } + get accountMadeTransaction() { + return "b444b7ff3118cf2a30cbd54cfcdb8fd5d805017a" + } + userDataFetchChange(res) { this._userData = res; } diff --git a/src/store/transactionsStore.js b/src/store/transactionsStore.js index a14ad80..e2c6f9a 100644 --- a/src/store/transactionsStore.js +++ b/src/store/transactionsStore.js @@ -38,7 +38,7 @@ class TransactionsStore { transaction: item.asset.features.map(asset=>{ return { transaction_id: item.id, - address: item.asset.recipientAddress, + address: registrationStore.accountMadeTransaction, value: asset.value, label: labelMap[asset.label], }