mirror of
https://github.com/fluencelabs/eip712-validation-node
synced 2025-05-04 12:42:13 +00:00
update sqlite calls
This commit is contained in:
parent
b820e32eb3
commit
afc70bff1c
@ -97,7 +97,7 @@ export function select_event(snapshot_id: number): any {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// export function select_events(): Array<DBRecord> {
|
// export function select_events(): Array<DBRecord> {
|
||||||
export function select_events(): any {
|
export async function select_events(): Promise<any> {
|
||||||
var db = get_db(DB_PATH);
|
var db = get_db(DB_PATH);
|
||||||
// todo: add pagination
|
// todo: add pagination
|
||||||
const stmt = 'select * from snapshot limit ?';
|
const stmt = 'select * from snapshot limit ?';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user