fix: update cointype on taproot derivation path

This commit is contained in:
HashEngineering 2023-01-10 07:09:33 -08:00
parent c766a72189
commit 5329670a8e
No known key found for this signature in database
GPG key ID: A615EB0C5CEBDEDE

View file

@ -1017,7 +1017,7 @@ public enum ScriptType {
return List.of(MULTI, CUSTOM);
}
},
P2TR("P2TR", "Taproot (P2TR)", "m/86'/0'/0'") {
P2TR("P2TR", "Taproot (P2TR)", "m/86'/17'/0'") {
@Override
public ECKey getOutputKey(ECKey derivedKey) {
return derivedKey.getTweakedOutputKey();