undefined guard fill record id
This commit is contained in:
@@ -167,7 +167,7 @@ const main = async () => {
|
|||||||
oraclePrice: convertToNumber(fill.oraclePrice, PRICE_PRECISION),
|
oraclePrice: convertToNumber(fill.oraclePrice, PRICE_PRECISION),
|
||||||
txSig: fill.txSig,
|
txSig: fill.txSig,
|
||||||
slot: fill.slot,
|
slot: fill.slot,
|
||||||
fillRecordId: fill.fillRecordId.toNumber(),
|
fillRecordId: fill.fillRecordId?.toNumber(),
|
||||||
action: 'fill',
|
action: 'fill',
|
||||||
actionExplanation: getVariant(fill.actionExplanation),
|
actionExplanation: getVariant(fill.actionExplanation),
|
||||||
referrerReward: convertToNumber(
|
referrerReward: convertToNumber(
|
||||||
|
|||||||
Reference in New Issue
Block a user