Skip to content

Commit ee250db

Browse files
committed
add ResourceDestroyed and revert schedule to access(all)
1 parent 6cf391b commit ee250db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contracts/FlowCallbackScheduler.cdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ access(all) contract FlowCallbackScheduler {
13631363
return <-vaultRef.withdraw(amount: amount) as! @FlowToken.Vault
13641364
}
13651365

1366-
access(account) fun schedule(
1366+
access(all) fun schedule(
13671367
callback: Capability<auth(Execute) &{CallbackHandler}>,
13681368
data: AnyStruct?,
13691369
timestamp: UFix64,

0 commit comments

Comments
 (0)