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 e63366c commit 126b083Copy full SHA for 126b083
stackslib/src/chainstate/stacks/boot/pox-4.clar
@@ -1437,6 +1437,9 @@
1437
(max-amount uint)
1438
(auth-id uint))
1439
(begin
1440
+ ;; must be called directly by the tx-sender or by an allowed contract-caller
1441
+ (asserts! (check-caller-allowed)
1442
+ (err ERR_NOT_ALLOWED))
1443
;; Validate that `tx-sender` has the same pubkey hash as `signer-key`
1444
(asserts! (is-eq
1445
(unwrap! (principal-construct? (if is-in-mainnet STACKS_ADDR_VERSION_MAINNET STACKS_ADDR_VERSION_TESTNET) (hash160 signer-key)) (err ERR_INVALID_SIGNER_KEY))
0 commit comments