Skip to content

Commit cc56bc6

Browse files
fix: correct last_buy_timestamp storage read type from Symbol to DataKey
🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent b6e6fe8 commit cc56bc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

creator-keys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3903,7 +3903,7 @@ impl CreatorKeysContract {
39033903
if let Some(last_buy_ts) = env
39043904
.storage()
39053905
.persistent()
3906-
.get::<soroban_sdk::Symbol, u64>(&last_buy_key)
3906+
.get::<DataKey, u64>(&last_buy_key)
39073907
{
39083908
let now = env.ledger().timestamp();
39093909
let unlock_at = last_buy_ts

0 commit comments

Comments
 (0)