-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The sign button is disabled when psbt.canSign
returns false. We should make it more clear why this happens. This may require a PR to libwally-swift
.
canSign
is implemented here:
https://github.com/blockchain/libwally-swift/blob/master/LibWally/PSBT.swift#L54-L73
Some reasons why it can fail:
- wrong network: the network is not specified in the PSBT, but you can tell from the derivation path, e.g.
m/84h/0h
is mainnet andm/84h/1h
is testnet - change address derivation is not what we expect
- we don't have matching keys (wrong derivation path?); this might be where we should check if any of the other wallets do match
Metadata
Metadata
Assignees
Labels
No labels