From e01fdd66a61811ddd77400e9035630617658d0c9 Mon Sep 17 00:00:00 2001 From: Dzmitry Aliaksandrau Date: Thu, 4 Apr 2024 15:25:41 +0300 Subject: [PATCH] Add store results operation --- .../_lambda/functions/eth_client/lambda_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws_kms_lambda_ethereum/_lambda/functions/eth_client/lambda_function.py b/aws_kms_lambda_ethereum/_lambda/functions/eth_client/lambda_function.py index 2d71e13..eef42f2 100644 --- a/aws_kms_lambda_ethereum/_lambda/functions/eth_client/lambda_function.py +++ b/aws_kms_lambda_ethereum/_lambda/functions/eth_client/lambda_function.py @@ -37,7 +37,7 @@ def lambda_handler(event, _): return {'eth_checksum_address': eth_checksum_address} - elif operation == "sign_bulk_payout": + elif operation in ("sign_bulk_payout", "store_results"): del event["operation"] # cast to integer as JS sends strings for maxFeePerGas, maxPriorityFeePerGas, gas fields