<blockquote>
<p>But that still leaves about 330 sats unaccounted for</p>
</blockquote>
<p>You are probably missing the <a href="https://github.com/lightning/bolts/blob/master/03-transactions.md#to_local_anchor-and-to_remote_anchor-output-option_anchors" rel="nofollow noreferrer">anchor output</a> contained in the commitment transaction in your calculation. Its value is exactly 330 sats.</p>
<hr />
<p><em>Note: this answer previously incorrectly assumed it was due to the reserve not being part of the balance. It was entirely re-written.</em></p>

CC BY-SA 4.0
2022-09-30T00:23:14.547Z
"This is called the reserve. Your node will not show you the reserve as part of your balance (since you can't spend it)." This part is a bit confusing. My local balance shows 999056, but my local_chan_reserve_sat is 10000. My local balance is not missing 10k sats from capacity, only less than 1k sats.
user339946
CC BY-SA 4.0
2022-10-01T12:16:02.123Z
Hmmm right. I'm wrong, the reserve appears to be part of your balance here. Maybe you just made a mistake in computing transaction fees. I'll delete my answer to not mislead anyone else.
Antoine Poinsot
CC BY-SA 4.0
2022-10-01T12:20:21.667Z
Oh, you probably just forgot to account for the anchor output! I'll update my answer instead.
Antoine Poinsot
CC BY-SA 4.0
2022-09-29T21:33:23.680Z
2022-10-01T12:19:59.750Z
2022-10-01T12:19:59.750Z
Antoine Poinsot
<p>I've created a brand new lightning channel with two nodes.</p>
<p>I loaded the channel with <code>&quot;capacity&quot;: &quot;1000000&quot;</code>, but <code>&quot;local_balance&quot;: &quot;999056&quot;</code>. I know that <code>&quot;commit_fee&quot;: &quot;614&quot;</code> accounts for some reserved sats for channel closing. But that still leaves about 330 sats unaccounted for. Where are these sats visible? Thanks</p>
<pre><code>&quot;channels&quot;: [
        {
            &quot;active&quot;: true,
            &quot;remote_pubkey&quot;: &quot;0340b6591708a3bc385aef0c69e6e618e5e3de0f66d923607f55ea035b71dedd47&quot;,
            &quot;channel_point&quot;: &quot;6ac2d8f922b0d1f2d5de39d2819777cb8bc40b6d8f6226211bbba34eada55965:1&quot;,
            &quot;chan_id&quot;: &quot;2582377880184815617&quot;,
            &quot;capacity&quot;: &quot;1000000&quot;,
            &quot;local_balance&quot;: &quot;999056&quot;,
            &quot;remote_balance&quot;: &quot;0&quot;,
            &quot;commit_fee&quot;: &quot;614&quot;,
            &quot;commit_weight&quot;: &quot;772&quot;,
            &quot;fee_per_kw&quot;: &quot;253&quot;,
            &quot;unsettled_balance&quot;: &quot;0&quot;,
            &quot;total_satoshis_sent&quot;: &quot;0&quot;,
            &quot;total_satoshis_received&quot;: &quot;0&quot;,
            &quot;num_updates&quot;: &quot;0&quot;,
            &quot;pending_htlcs&quot;: [
            ],
            &quot;csv_delay&quot;: 144,
            &quot;private&quot;: false,
            &quot;initiator&quot;: true,
            &quot;chan_status_flags&quot;: &quot;ChanStatusDefault&quot;,
            &quot;local_chan_reserve_sat&quot;: &quot;10000&quot;,
            &quot;remote_chan_reserve_sat&quot;: &quot;10000&quot;,
            &quot;static_remote_key&quot;: false,
            &quot;commitment_type&quot;: &quot;ANCHORS&quot;,
            &quot;lifetime&quot;: &quot;24&quot;,
            &quot;uptime&quot;: &quot;24&quot;,
            &quot;close_address&quot;: &quot;&quot;,
            &quot;push_amount_sat&quot;: &quot;0&quot;,
            &quot;thaw_height&quot;: 0,
            &quot;local_constraints&quot;: {
                &quot;csv_delay&quot;: 144,
                &quot;chan_reserve_sat&quot;: &quot;10000&quot;,
                &quot;dust_limit_sat&quot;: &quot;573&quot;,
                &quot;max_pending_amt_msat&quot;: &quot;990000000&quot;,
                &quot;min_htlc_msat&quot;: &quot;1&quot;,
                &quot;max_accepted_htlcs&quot;: 483
            },
            &quot;remote_constraints&quot;: {
                &quot;csv_delay&quot;: 144,
                &quot;chan_reserve_sat&quot;: &quot;10000&quot;,
                &quot;dust_limit_sat&quot;: &quot;573&quot;,
                &quot;max_pending_amt_msat&quot;: &quot;990000000&quot;,
                &quot;min_htlc_msat&quot;: &quot;1&quot;,
                &quot;max_accepted_htlcs&quot;: 483
            }
        }
    ]
</code></pre>

<lightning-network><lightning-network-daemon><lightning-rfc>
Lightning: why don't balances add up to capacity?
user339946
# Lightning: why don't balances add up to capacity?

(Asked by: username_0 on 2022-09-29)

I've created a brand new lightning channel with two nodes.
I loaded the channel with "capacity": "1000000", but "local_balance": "999056". I know that "commit_fee": "614" accounts for some reserved sats for channel closing. But that still leaves about 330 sats unaccounted for. Where are these sats visible? Thanks
"channels": [
        {
            "active": true,
            "remote_pubkey": "0340b6591708a3bc385aef0c69e6e618e5e3de0f66d923607f55ea035b71dedd47",
            "channel_point": "6ac2d8f922b0d1f2d5de39d2819777cb8bc40b6d8f6226211bbba34eada55965:1",
            "chan_id": "2582377880184815617",
            "capacity": "1000000",
            "local_balance": "999056",
            "remote_balance": "0",
            "commit_fee": "614",
            "commit_weight": "772",
            "fee_per_kw": "253",
            "unsettled_balance": "0",
            "total_satoshis_sent": "0",
            "total_satoshis_received": "0",
            "num_updates": "0",
            "pending_htlcs": [
            ],
            "csv_delay": 144,
            "private": false,
            "initiator": true,
            "chan_status_flags": "ChanStatusDefault",
            "local_chan_reserve_sat": "10000",
            "remote_chan_reserve_sat": "10000",
            "static_remote_key": false,
            "commitment_type": "ANCHORS",
            "lifetime": "24",
            "uptime": "24",
            "close_address": "",
            "push_amount_sat": "0",
            "thaw_height": 0,
            "local_constraints": {
                "csv_delay": 144,
                "chan_reserve_sat": "10000",
                "dust_limit_sat": "573",
                "max_pending_amt_msat": "990000000",
                "min_htlc_msat": "1",
                "max_accepted_htlcs": 483
            },
            "remote_constraints": {
                "csv_delay": 144,
                "chan_reserve_sat": "10000",
                "dust_limit_sat": "573",
                "max_pending_amt_msat": "990000000",
                "min_htlc_msat": "1",
                "max_accepted_htlcs": 483
            }
        }
    ]

**Tags:** lightning-network, lightning-network-daemon, lightning-rfc


---

## 1 answers

### Answer by username_1 on 2022-09-29. Score: 2 | Accepted answer

> But that still leaves about 330 sats unaccounted for

You are probably missing the [anchor output](https://github.com/lightning/bolts/blob/master/03-transactions.md#to_local_anchor-and-to_remote_anchor-output-option_anchors) contained in the commitment transaction in your calculation. Its value is exactly 330 sats.

---

*Note: this answer previously incorrectly assumed it was due to the reserve not being part of the balance. It was entirely re-written.*

> **Comments:**
> **username_0**: "This is called the reserve. Your node will not show you the reserve as part of your balance (since you can't spend it)." This part is a bit confusing. My local balance shows 999056, but my local_chan_reserve_sat is 10000. My local balance is not missing 10k sats from capacity, only less than 1k sats.  
> **username_1**: Hmmm right. I'm wrong, the reserve appears to be part of your balance here. Maybe you just made a mistake in computing transaction fees. I'll delete my answer to not mislead anyone else.  
> **username_1**: Oh, you probably just forgot to account for the anchor output! I'll update my answer instead.  

---

