Skip to content
This repository was archived by the owner on Sep 4, 2021. It is now read-only.

Conversation

@oasin
Copy link
Contributor

@oasin oasin commented Oct 29, 2020

Electrum 4.0.4 Response

{
"URI": "",
"address": "",
"amount_BTC": "",
"amount_sat": "",
"confirmations": 0,
"expiration":,
"is_lightning": false,
"message": "",
"status": 3,
"status_str": "",
"timestamp":
}

Electrum 4.0.4 Response { "URI": "", "address": "", "amount_BTC": "", "amount_sat": "", "confirmations": 0, "expiration":, "is_lightning": false, "message": "", "status": 3, "status_str": "", "timestamp": }
@Padrio
Copy link
Owner

Padrio commented Oct 30, 2020

Thank you for your contribution. Since this is a breaking change to everyone who is using an electrum version older than 4.0.4. Can you maybe add an version aware mapping? If someone has an previous version than the right response mapping should be used.

I'm currently working on a rewrite with unit tests and the api compatibility will be locked to an specified electrum version so everything will be more stable.

@Padrio Padrio merged commit 6c1e929 into Padrio:master Apr 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

2 participants