mirror of
https://github.com/callebtc/electronwall.git
synced 2025-12-18 07:34:19 +01:00
channel pair
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Attention: This is a yaml file. If you don't use the exact amount of spaces
|
||||
# Trigger warning: This is a yaml file. If you don't use the exact amount of spaces
|
||||
# precisely where they belong, ghost will haunt you until the end of your life.
|
||||
|
||||
# ----- Node credentials -----
|
||||
|
||||
@@ -46,7 +46,6 @@ func intToHex(i int64) string {
|
||||
func parse_channelID(e uint64) string {
|
||||
byte_e := big.NewInt(int64(e)).Bytes()
|
||||
hexstr := hex.EncodeToString(byte_e)
|
||||
fmt.Println(hexstr)
|
||||
int_block3, _ := strconv.ParseInt(hexstr[:6], 16, 64)
|
||||
int_block2, _ := strconv.ParseInt(hexstr[6:12], 16, 64)
|
||||
int_block1, _ := strconv.ParseInt(hexstr[12:], 16, 64)
|
||||
|
||||
Reference in New Issue
Block a user