Skip to content

Commit

Permalink
fix: increase deadline to one day instead of 15 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
denbite committed Oct 11, 2024
1 parent dd323a0 commit bc82b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc82b4b

Please sign in to comment.