Skip to content

Commit

Permalink
[BLOCK-1685] Fix some code in eosq (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
keisuke-kanao authored Jul 31, 2024
1 parent b0b2f28 commit f0fdbbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion eosq/src/pages/account/account-detail.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ export class AccountDetail extends ContentLoaderComponent<Props, State> {
)

this.voteStream = streams.voteStream
this.accountStream = streams.voteStream
// ultra-keisuke --- BLOCK-1685 --- examine and fix some code in eosq block explorer
this.accountStream = streams.accountStream
}

unregisterStreams = async () => {
Expand Down
6 changes: 4 additions & 2 deletions eosq/src/streams/account-listeners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ export async function registerAccountDetailsListeners(
requestAccountLinkedPermissions(accountName, blockNum),
// requestContractTableRows(rexParams),
// requestContractTableRows(rexfundsParams),
requestContractTableRows(cpuLoans),
requestContractTableRows(netLoans)
// ultra-keisuke --- BLOCK-1685 --- examine and fix some code in eosq block explorer
// commmented out below two lines, because the below handling of them had already been commented out.
// requestContractTableRows(cpuLoans),
// requestContractTableRows(netLoans)
])
.then((response: any) => {
if (response && response.length >= 2) {
Expand Down

0 comments on commit f0fdbbd

Please sign in to comment.