mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +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) {
|
||||
final p2wpkh = bitcoin
|
||||
.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)
|
||||
.data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue