cryptoadvance / cryptoadvance/specter-desktop

When attempting to construct an unsigned L-BTC transaction, "transaction editor: text" cannot be used

Open
#1,657 3 comments 0 reactions 0 assignees View on GitHub
bug liquid
Dominant language
Python
Stars
847
Forks
259
Avg merge
6d 18h
Merged PRs (30d)
2

Description

Tangentially related to this perhaps:
https://github.com/cryptoadvance/specter-desktop/issues/1439

paste output into specter create transaction tab ("transaction editor: text") within a liquid hot wallet and press "create unsigned transaction button"

Receive error message:

```Bitcoin Core RpcError: Request error: asset must be of length 64 (not 3, for 'btc')```
changing "unit" to "sat" results in a different, but similar error message:

```Bitcoin Core RpcError: Request error: asset must be of length 64 (not 3, for 'sat')```

It works as intended with the "transaction editor: UI" as opposed to text.

Testing single address tx with "transaction editor: text"

same error as above.

![image](https://user-images.githubusercontent.com/43704663/161874011-f7bcaa54-647b-4d3b-8cf5-e362a45ce2cc.png)
![image](https://user-images.githubusercontent.com/43704663/161874022-302114b0-1339-40d7-9662-db8fb614ec81.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure in a Liquid hot wallet using the transaction editor: text and the create unsigned transaction button, then compare it with the working transaction editor: UI path. Trace how the text input maps the asset and unit fields before the Bitcoin Core request. Done means valid text-editor input creates an unsigned L-BTC transaction without the asset-length error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.