Skip to content

Commit

Permalink
fixed null swap creation with 0 timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
nms-7 committed Dec 21, 2024
1 parent abf082e commit fcfcd3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spot-staking-subgraph/src/billBroker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ function fetchBillBrokerSwap(vault: BillBroker, nonce: BigInt): BillBrokerSwap {
swap.swapAmt = BIGDECIMAL_ZERO
swap.feeAmt = BIGDECIMAL_ZERO
swap.tx = '0x'
swap.timestamp = BIGINT_ZERO
swap.save()
}
return swap as BillBrokerSwap
Expand Down

0 comments on commit fcfcd3f

Please sign in to comment.