Skip to content

Commit

Permalink
fix: ts compile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Nov 30, 2023
1 parent f96abf5 commit c0bafd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export abstract class BaseFullTreeSnapshotBuilder<T extends TreeBase, S extends
}

const batch = this.db.batch();
const root = this.tree.getRoot();
const root = this.tree.getRoot(false);
const depth = this.tree.getDepth();
const queue: [Buffer, number, bigint][] = [[root, 0, 0n]];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { LeafData } from '@aztec/types';

import { LevelUp, LevelUpChain } from 'levelup';

import { IndexedTree, LeafData } from '../interfaces/indexed_tree.js';
import { IndexedTree } from '../interfaces/indexed_tree.js';
import { decodeTreeValue, encodeTreeValue } from '../standard_indexed_tree/standard_indexed_tree.js';
import { TreeBase } from '../tree_base.js';
import { BaseFullTreeSnapshot, BaseFullTreeSnapshotBuilder } from './base_full_snapshot.js';
Expand Down

0 comments on commit c0bafd1

Please sign in to comment.