mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-16 23:24:25 +01:00
The previous implementation incorrectly converted the mnemonic to bytes: - OLD: var seed = mnemonic.DeriveSeed(); ... seed.ToList() - NEW: var seed = new Seed.Mnemonic(mnemonic: mnemonic.ToString(), passphrase: null); This matches the official Spark SDK C# snippets pattern where ConnectRequest expects a Seed discriminated union type, not a List<byte>. Reference: https://github.com/breez/spark-sdk/tree/main/docs/breez-sdk/snippets/csharp