fix return type on perp loadFills

This commit is contained in:
tjs 2023-02-23 13:00:22 -05:00
parent 5c5638ab8d
commit f9bc74b48f
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ export class PerpMarket {
public async loadFills(
client: MangoClient,
lastSeqNum: BN = new BN(0),
): Promise<(OutEvent | FillEvent | LiquidateEvent)[]> {
): Promise<FillEvent[]> {
const eventQueue = await this.loadEventQueue(client);
return eventQueue
.eventsSince(lastSeqNum)