mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
Fixes for generation of payment data for electrum wallet
This commit is contained in:
parent
6a2f965298
commit
109db68d07
1 changed files with 3 additions and 1 deletions
|
@ -270,7 +270,9 @@ abstract class ElectrumWalletBase extends WalletBase<ElectrumBalance,
|
||||||
if (input.isP2wpkh) {
|
if (input.isP2wpkh) {
|
||||||
final p2wpkh = bitcoin
|
final p2wpkh = bitcoin
|
||||||
.P2WPKH(
|
.P2WPKH(
|
||||||
data: generatePaymentData(hd: hd, index: input.address.index),
|
data: generatePaymentData(
|
||||||
|
hd: input.address.isHidden ? walletAddresses.sideHd : walletAddresses.mainHd,
|
||||||
|
index: input.address.index),
|
||||||
network: networkType)
|
network: networkType)
|
||||||
.data;
|
.data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue