Skip to content

Commit

Permalink
update for missing "block_created" in tokenStats
Browse files Browse the repository at this point in the history
This was probably introduced from a recent refactoring for the order of
event processing.
  • Loading branch information
jcramer committed Aug 7, 2019
1 parent 9228587 commit 2ea1894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SlpTokenGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ export class SlpTokenGraph implements TokenGraph {
else {
let minted = await this.getTotalMintQuantity();
let addressesTotal = this.getTotalHeldByAddresses()
this._tokenStats.block_created = await Query.queryTokenGenesisBlock(this._tokenDetails.tokenIdHex),
this._tokenStats.block_last_active_mint = await Query.blockLastMinted(this._tokenDetails.tokenIdHex),
this._tokenStats.block_last_active_send = await Query.blockLastSent(this._tokenDetails.tokenIdHex),
this._tokenStats.qty_valid_token_addresses = this._addresses.size;
Expand Down

0 comments on commit 2ea1894

Please sign in to comment.