We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e75e3b8 commit 25c2b14Copy full SHA for 25c2b14
stackslib/src/chainstate/stacks/boot/sip-031.clar
@@ -71,7 +71,10 @@
71
)
72
73
(define-private (validate-caller)
74
- (ok (asserts! (is-eq contract-caller (var-get recipient)) (err ERR_NOT_ALLOWED)))
+ (begin
75
+ (asserts! (is-eq contract-caller (var-get recipient)) (err ERR_NOT_ALLOWED))
76
+ (asserts! (is-eq tx-sender (var-get recipient)) (err ERR_NOT_ALLOWED))
77
+ (ok true))
78
79
80
;; Returns the *total* vested amount at `burn-height`, i.e.
0 commit comments