fix return type on perp loadFills
This commit is contained in:
parent
5c5638ab8d
commit
f9bc74b48f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue