We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dce3e7 commit 76b88dbCopy full SHA for 76b88db
packages/sequencer/src/settlement/messages/WithdrawalQueue.ts
@@ -79,6 +79,8 @@ export class WithdrawalQueue
79
);
80
}
81
82
+ // TODO Not really efficient right now in regards to DB trips, can be
83
+ // easily built as a join query though
84
private async getLatestSettledBlock(): Promise<Block | undefined> {
85
const settlement = await this.settlementStorage.getLatestSettlement();
86
if (settlement !== undefined) {
0 commit comments