Skip to content

Commit

Permalink
fix: remove unused deployer code
Browse files Browse the repository at this point in the history
  • Loading branch information
whoabuddy committed Nov 25, 2024
1 parent 8a22db9 commit 6306228
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contracts/dao/extensions/aibtcdev-bank-account.clar
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

;; constants
;;
(define-constant DEPLOYER tx-sender)
(define-constant SELF (as-contract tx-sender))
(define-constant ERR_INVALID (err u1000))
(define-constant ERR_UNAUTHORIZED (err u1001))
Expand Down Expand Up @@ -144,10 +143,6 @@

;; private functions
;;
(define-private (is-deployer)
(ok (asserts! (is-eq DEPLOYER (get-standard-caller)) ERR_UNAUTHORIZED))
)

(define-private (is-account-holder)
(ok (asserts! (is-eq (var-get accountHolder) (get-standard-caller)) ERR_UNAUTHORIZED))
)

0 comments on commit 6306228

Please sign in to comment.