Skip to content

Commit

Permalink
Fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AllFi committed Sep 10, 2024
1 parent b7bfa64 commit 0f91808
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zp-relayer/pool/RelayPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,16 +302,16 @@ export class RelayPool extends BasePool<Network> {
}
}

protected async cacheTxLocally(commit: string, txHash: string, memo: string, index: number) {
protected async cacheTxLocally(commit: string, txHash: string, memo: string, timestamp: number) {
// store or updating local tx store
// (we should keep sent transaction until the indexer grab them)
const prefixedMemo = buildPrefixedMemo(
commit,
txHash,
memo
);
await this.txStore.add(commit, prefixedMemo, index);
logger.info('Tx has been CACHED locally', { commit, index });
await this.txStore.add(commit, prefixedMemo, timestamp);
logger.info('Tx has been CACHED locally', { commit, timestamp });
}

private async getIndexerInfo() {
Expand Down

0 comments on commit 0f91808

Please sign in to comment.