File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Versions
22
3+ ## 5.0.3
4+
5+ - Allow capitalized supported_assets tickers in peerlist
6+
37## 5.0.2
48
59- Count only unlocked outputs as available Liquid balance
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import (
3434
3535const (
3636 // App VERSION tag
37- VERSION = "v5.0.2 "
37+ VERSION = "v5.0.3 "
3838 // Unusable BTC balance
3939 ANCHOR_RESERVE = 25_000
4040 // assume creatediscountct=1 for mainnet in elements.conf
Original file line number Diff line number Diff line change @@ -40,9 +40,10 @@ func timePassedAgo(t time.Time) string {
4040}
4141
4242// returns true if the string is present in the array of strings
43+ // searching for both lowercase and capitalized variants!
4344func stringIsInSlice (whatToFind string , whereToSearch []string ) bool {
4445 for _ , s := range whereToSearch {
45- if s == whatToFind {
46+ if s == whatToFind || strings . ToLower ( s ) == whatToFind {
4647 return true
4748 }
4849 }
You can’t perform that action at this time.
0 commit comments