Skip to content

Commit 8d687e7

Browse files
authored
chore: remove attempts from blockchainWriterDao (#833)
Reference: #832
1 parent 7cda71e commit 8d687e7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/BlockchainWriter/DAO.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export interface Entry {
88
readonly blockHeight?: number
99
readonly blockHash?: string
1010
readonly creationBlockHeight?: number
11-
readonly attempts?: number
1211
}
1312

1413
@injectable()
@@ -31,7 +30,6 @@ export class DAO {
3130
transactionCreationDate: null,
3231
blockHash: null,
3332
blockHeight: null,
34-
attempts: 1,
3533
})
3634

3735
readonly purgeStaleTransactions = (thresholdBlock: number) =>
@@ -43,7 +41,6 @@ export class DAO {
4341
},
4442
{
4543
$set: { txId: null },
46-
$inc: { attempts: 1 },
4744
},
4845
)
4946

0 commit comments

Comments
 (0)