Skip to content

Commit

Permalink
bcur: add tag for exporting taproot account
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieDriver committed Jan 29, 2025
1 parent a3cccd7 commit e0c5319
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main/bcur.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,11 @@ static void encode_script_variant_tag(CborEncoder* encoder, const script_variant
cberr = cbor_encode_tag(encoder, 401);
JADE_ASSERT(cberr == CborNoError);
break;
// Taproot
case P2TR:
cberr = cbor_encode_tag(encoder, 409);
JADE_ASSERT(cberr == CborNoError);
break;
default:
JADE_ASSERT_MSG(false, "Unhandled script variant");
}
Expand Down

0 comments on commit e0c5319

Please sign in to comment.