Skip to content

Commit 6306228

Browse files
committed
fix: remove unused deployer code
1 parent 8a22db9 commit 6306228

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

contracts/dao/extensions/aibtcdev-bank-account.clar

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
;; constants
1010
;;
11-
(define-constant DEPLOYER tx-sender)
1211
(define-constant SELF (as-contract tx-sender))
1312
(define-constant ERR_INVALID (err u1000))
1413
(define-constant ERR_UNAUTHORIZED (err u1001))
@@ -144,10 +143,6 @@
144143

145144
;; private functions
146145
;;
147-
(define-private (is-deployer)
148-
(ok (asserts! (is-eq DEPLOYER (get-standard-caller)) ERR_UNAUTHORIZED))
149-
)
150-
151146
(define-private (is-account-holder)
152147
(ok (asserts! (is-eq (var-get accountHolder) (get-standard-caller)) ERR_UNAUTHORIZED))
153148
)

0 commit comments

Comments
 (0)