Skip to content

Different indent #21

@friedger

Description

@friedger

In the example below, the body of the second function has more indent than the body of the first function

(define-read-only (stx-sats-price (bh uint))
   (unwrap! (get payout (get-burn-block-info? pox-addrs bh)) u0))

(define-read-only (stx-sats-price-10 (bh uint))
     (/ (+ (unwrap! (get payout (get-burn-block-info? pox-addrs bh)) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u1))) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u2))) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u3))) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u4))) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u5))) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u6))) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u7))) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u8))) u0)
         (unwrap! (get payout (get-burn-block-info? pox-addrs (- bh u9))) u0))
      u10))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions