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], }