Log info that the delivery instruction is not sufficiently funded

This commit is contained in:
derpy-duck 2023-02-15 16:02:37 +00:00
parent c91c888c37
commit 228c70495f
1 changed files with 2 additions and 0 deletions

View File

@ -518,8 +518,10 @@ export class GenericRelayerPlugin implements Plugin<WorkflowPayload> {
switch (payload.payloadId) {
case RelayerPayloadId.Delivery:
if(payload.deliveryInstructionsContainer.sufficientlyFunded) {
return await this.handleDeliveryWorkflow(payload, execute)
}
this.logger.info("Delivery instruction is not sufficiently funded")
return
case RelayerPayloadId.Redelivery:
return await this.handleRedeliveryWorkflow(payload, execute)