Skip to content

Inability to hold multiple tapret tweaks in Tr RGB wallet for the same derivation #183

Open
@crisdut

Description

@crisdut

Description

I discovered a strange behavior when we tried to use TapretKey::derive after making a successful tapret1st. If I retry using the same terminal change of the previous transaction, the pay operation returns TapretKeyError::TapTreeNonEmpty:

use of taproot script descriptors is not yet supported. 
You may also check the latest version of the software which may already support this feature.

This occurs because when creating the PSBT, we use the TapretKey::derive inside of the Psbt::construct_change method (see here), and derivation uses the tap tweak to build a taptree.

In version 0.10, we could derive without tap-tweak; I believe we need to implement something similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingepicEpic task covering multiple steps of implementationrefactoringCode refactoring

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions