mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Fixes for generation of payment data for electrum wallet
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user