UNKNOWN_PAYMENT_HASH
See original GitHub issueUsing Python 2.7.15+ on Ubuntu 18.04, latest code from master, lnd version 0.7.0-beta commit=v0.7.0-beta-rc3 installed with routerrpc, latest requirements.txt installed with pip. I’m trying to rebalance a channel with the following command and getting an error. I’ve tried this with different “to” channels and different amounts and I get the same error.
$ python rebalance.py -f 627916797039411200 -t 630216975379267584 -a 500000 --max-fee-factor 3
Sending 500,000 satoshis to rebalance to channel with ID 630216975379267584
Forced first channel has ID 627916797039411200
Trying route #1
627916797039411200 -> 623648492953534464 -> 631089987556999169 -> 630216975379267584
failure {
code: UNKNOWN_PAYMENT_HASH
failure_source_pubkey: "\003\201\030\340I\017\215=\360{k\334^p4\336\351\rv\220\022vM1\277\353\026ri\206h$\360"
}
Unknown error code 1
Could not find any suitable route
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Unknown payment hash 000000000000000000 #2467 - GitHub
Prior to sending coins, they were able to pay each other using the same channel(s) without issue. This error started to occur after...
Read more >channelmanager.rs - source - Docs.rs
Also, ensure that, in the case of an unknown payment hash, our payment logic has enough time to fail the HTLC backward //...
Read more >lndclient - Go Packages
PaymentResultUnknownPaymentHash = "UnknownPaymentHash" // PaymentResultSuccess is the string result returned by SendPayment // when the ...
Read more >[Lightning-dev] In-protocol liquidity probing and channel ...
A practice that is widely applied by lightning wallets is to probe routes with an unknown payment hash before making the actual payment....
Read more >Improvements of the Balance Discovery Attack on Lightning ...
if response = UnknownPaymentHash then. 17: if bwidth.min < flow then. 18: bwidth.min ← flow. 19: end if. 20: else if response =...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have plenty of information, thanks for reporting. I’ll work on this when I find the time.
Same for me, debian 9.9 Python 2.7.13 lnd 0.7.0-beta commit=v0.7.0-beta-6-gb16259592944ec12c7e47bc10b3b69e25d61950f
lnd logs: