fix (#1633)
Some checks are pending
Cache Dependencies / test (push) Waiting to run

This commit is contained in:
Matthew Fosse 2024-08-21 15:49:47 -04:00 committed by GitHub
parent 5449b94ba4
commit 49d2560eb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1005,7 +1005,7 @@ abstract class ElectrumWalletBase
if (estimatedTx.inputPrivKeyInfos.isEmpty) {
error += "\nNo private keys generated.";
} else {
error += "\nAddress: ${utxo.ownerDetails.address.toAddress()}";
error += "\nAddress: ${utxo.ownerDetails.address.toAddress(network)}";
key = estimatedTx.inputPrivKeyInfos.firstWhereOrNull((element) {
final elemPubkey = element.privkey.getPublic().toHex();