Skip to content

Commit 8577fb1

Browse files
committed
manually fix volume_quota_remaining from sendTx and sendBatchTx
1 parent 0e9459d commit 8577fb1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lighter/models/resp_send_tx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class RespSendTx(BaseModel):
3030
message: Optional[StrictStr] = None
3131
tx_hash: StrictStr
3232
predicted_execution_time_ms: StrictInt
33-
volume_quota_remaining: StrictInt
33+
volume_quota_remaining: Optional[StrictInt] = None
3434
additional_properties: Dict[str, Any] = {}
3535
__properties: ClassVar[List[str]] = ["code", "message", "tx_hash", "predicted_execution_time_ms", "volume_quota_remaining"]
3636

lighter/models/resp_send_tx_batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class RespSendTxBatch(BaseModel):
3030
message: Optional[StrictStr] = None
3131
tx_hash: List[StrictStr]
3232
predicted_execution_time_ms: StrictInt
33-
volume_quota_remaining: StrictInt
33+
volume_quota_remaining: Optional[StrictInt] = None
3434
additional_properties: Dict[str, Any] = {}
3535
__properties: ClassVar[List[str]] = ["code", "message", "tx_hash", "predicted_execution_time_ms", "volume_quota_remaining"]
3636

0 commit comments

Comments
 (0)