Skip to content
Snippets Groups Projects
Commit c55d3370 authored by bpresles's avatar bpresles Committed by Bertrand Presles
Browse files

[fix] #1350 Time of transactions not being saved on SQLite table

parent 14074533
Branches
Tags
1 merge request!1276[fix] #1350 Time of transactions not being saved on SQLite table
...@@ -87,6 +87,7 @@ export class SqliteTransactions extends SqliteTable<DBTx> implements TxsDAO { ...@@ -87,6 +87,7 @@ export class SqliteTransactions extends SqliteTable<DBTx> implements TxsDAO {
const theDBTx = DBTx.fromTransactionDTO(tx) const theDBTx = DBTx.fromTransactionDTO(tx)
theDBTx.written = true theDBTx.written = true
theDBTx.block_number = block_number theDBTx.block_number = block_number
theDBTx.time = time
if (!dbTx) { if (!dbTx) {
await this.insert(theDBTx) await this.insert(theDBTx)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment