Добавлен адресс аккаунта совершившего транзакцию
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user