darosior / lightning-qt

bitcoin-qt for lightningd
BSD 3-Clause Clear License
36 stars 8 forks source link

Commands under Bitcoin #3

Closed k3tan172 closed 5 years ago

k3tan172 commented 5 years ago

The commands under Bitcoin give me the following errors as outputs. GUI does not show anything. (I click Bitcoin -> Get a native segwit address and Bitcoin -> Get a P2SH-embedded segwit address)

2019-05-16T21:26:31.879Z plugin-gui.py Traceback (most recent call last):
2019-05-16T21:26:31.879Z plugin-gui.py   File \"/home/ketan/source/pylightning-qt/mainWindow.py\", line 115, in getAddressP2sh
2019-05-16T21:26:31.879Z plugin-gui.py     QMessageBox.information(self, \"Bitcoin address\", address[\"p2sh-segwit\"])
2019-05-16T21:26:31.879Z plugin-gui.py KeyError: 'p2sh-segwit'
2019-05-16T21:26:51.232Z plugin-gui.py Traceback (most recent call last):
2019-05-16T21:26:51.232Z plugin-gui.py   File \"/home/ketan/source/pylightning-qt/mainWindow.py\", line 121, in getAddressBech
2019-05-16T21:26:51.233Z plugin-gui.py     QMessageBox.information(self, \"Bitcoin address\", address[\"bech32\"])
2019-05-16T21:26:51.233Z plugin-gui.py KeyError: 'bech32'

Executing these commands also doesn't allow the GUI window to disappear when exiting. It requires a 'Force Quit'.

darosior commented 5 years ago

It's weird, which lightningd version do you use ? What is the output of

lightning-cli newaddr
k3tan172 commented 5 years ago

I'm using v0.7.0 output is

$ lightning-cli newaddr
{
  "address": "bc1qtd8axvcgqs97jm8f479j5nxtuwxvn5a20u9ezp"
}
darosior commented 5 years ago

Ok, the output has been changed : you will have to wait for v0.7.1 or compile master ;)