From bc82b4bb11bcde9f498fd08d74c90e69ec9c3138 Mon Sep 17 00:00:00 2001 From: denbite Date: Fri, 11 Oct 2024 12:36:21 +0200 Subject: [PATCH] fix: increase deadline to one day instead of 15 minutes --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f05589e..f84e955 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -99,7 +99,7 @@ impl Contract { payload: input_request.transaction_payload.into(), derivation_path: create_derivation_path(input_request.derivation_seed_number), key_version: input_request.key_version.unwrap_or(0), - deadline: block_timestamp() + 15 * ONE_MINUTE_NANOS, + deadline: block_timestamp() + 24 * 60 * ONE_MINUTE_NANOS, // in one day }; self.requests.insert(internal_request.id, internal_request); // this is required as LookupMap doesn't write state immediately