Добавлен адресс аккаунта совершившего транзакцию

This commit is contained in:
DwCay
2022-07-13 15:39:20 +03:00
parent 5eb4ee16c0
commit 9820692cd9
2 changed files with 6 additions and 2 deletions

View File

@@ -39,13 +39,17 @@ class Store {
} }
fetchTransactionsInfo() { 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, networkIdentifier: this.nodeInfo.networkIdentifier,
lastBlockID: this.nodeInfo.lastBlockID lastBlockID: this.nodeInfo.lastBlockID
}) })
.then((res)=>this.saveInfoTransactions(res)) .then((res)=>this.saveInfoTransactions(res))
} }
get accountMadeTransaction() {
return "b444b7ff3118cf2a30cbd54cfcdb8fd5d805017a"
}
userDataFetchChange(res) { userDataFetchChange(res) {
this._userData = res; this._userData = res;
} }

View File

@@ -38,7 +38,7 @@ class TransactionsStore {
transaction: item.asset.features.map(asset=>{ transaction: item.asset.features.map(asset=>{
return { return {
transaction_id: item.id, transaction_id: item.id,
address: item.asset.recipientAddress, address: registrationStore.accountMadeTransaction,
value: asset.value, value: asset.value,
label: labelMap[asset.label], label: labelMap[asset.label],
} }