Remove segwit limitation
MODIFY
WalletWasabi/Blockchain/Keys/KeyManager.cs
WalletWasabi/Blockchain/Keys/KeyManager.cs
@@ -357,8 +357,8 @@ public class KeyManager
public HdPubKey GetNextChangeKey() =>
GetKeys(x =>
x.KeyState == KeyState.Clean &&
- x.IsInternal == true &&
- x.FullKeyPath.GetScriptTypeFromKeyPath() == ScriptPubKeyType.Segwit).First();
+ x.IsInternal == true)
+ .First();
public IEnumerable<HdPubKey> GetKeys(Func<HdPubKey, bool>? wherePredicate)
{

Remove segwit limitation