Merge #950: [GUI] Add index into qrcode
7483988c53ee6201438283eff496302b7e647176 add index into qrcode (pythcoiner) Pull request description: fixes #838 ACKs for top commit: edouardparis: utACK 7483988c53ee6201438283eff496302b7e647176 Tree-SHA512: f33dd29f2857cab08c09eca03dcb208937b6b13da9e4ef811cbc4e8e4f6bbb73f1eee629736d98bf00bd9b65be5e96987c18ede42d20c9f486c5ec4e47ada275
This commit is contained in:
commit
c1e2d26c63
@ -124,7 +124,11 @@ impl State for ReceivePanel {
|
||||
match res {
|
||||
Ok((address, derivation_index)) => {
|
||||
self.warning = None;
|
||||
self.qr_code = Some(qr_code::State::new(address.to_qr_uri()).unwrap());
|
||||
self.qr_code = qr_code::State::new(format!(
|
||||
"bitcoin:{}?index={}",
|
||||
address, derivation_index
|
||||
))
|
||||
.ok();
|
||||
self.addresses.list.push(address);
|
||||
self.addresses.derivation_indexes.push(derivation_index);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user