Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to withdraw from Segwit addresses in Trezor mode #1685

Closed
yurii-khi opened this issue Feb 27, 2023 · 2 comments
Closed

Unable to withdraw from Segwit addresses in Trezor mode #1685

yurii-khi opened this issue Feb 27, 2023 · 2 comments
Assignees

Comments

@yurii-khi
Copy link

Describe the bug
While investigating https://github.com/KomodoPlatform/WebDEX/issues/918 on webdex-side, we found out, that it is currently impossible to withdraw funds from segwit addresses in trezor mode.

Please answer following questions and attach requested info - it'll help to solve issue faster
WASM module version: 18c663d
Coins config version: fb6e5db4f

{
    "method": "task::withdraw::init",
    "userpass": "********",
    "mmrpc": "2.0",
    "params": {
        "coin": "LTC-segwit",
        "from": {
            "derivation_path": "m/44'/2'/0'/0/0"
        },
        "to": "********",
        "amount": 0.01,
        "max": false
    }
}
{
    "mmrpc": "2.0",
    "result": {
        "status": "Error",
        "details": {
            "error": "Internal error: Trezor doesn't support P2WPKH outputs yet",
            "error_path": "utxo_withdraw.with_trezor",
            "error_trace": "utxo_withdraw:323] with_trezor:27]",
            "error_type": "InternalError",
            "error_data": "Trezor doesn't support P2WPKH outputs yet"
        }
    },
    "id": null
}
@sergeyboyko0791
Copy link

@yurii-khi Thank you for the issue!
I tried to implement the segwit transactions, but couldn't manage to finish it.
mm2 currently doesn't support *-segwit coins in Trezor.

@shamardy
Copy link
Collaborator

Fixed in #1984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants