Skip to content

Commit 7c9e90a

Browse files
committed
fix: improve comment for calc-claimable-amount
1 parent 7716317 commit 7c9e90a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stackslib/src/chainstate/stacks/boot/sip-031.clar

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@
116116
)
117117
)
118118

119-
;; Returns the amount of STX that is claimable from the vested balance at `burn-height`
119+
;; Returns the amount of STX that is claimable from the vested balance at `burn-height`.
120+
;; Note that this function takes into account the current STX balance
121+
;; of this contract, which may change by `burn-height`.
120122
(define-read-only (calc-claimable-amount (burn-height uint))
121123
(if (< burn-height DEPLOY_BLOCK_HEIGHT)
122124
u0

0 commit comments

Comments
 (0)