diff --git a/BTCPayServer.Data/Data/MigrationExtensions.cs b/BTCPayServer.Data/Data/MigrationExtensions.cs index 95814553f..f7983bd5a 100644 --- a/BTCPayServer.Data/Data/MigrationExtensions.cs +++ b/BTCPayServer.Data/Data/MigrationExtensions.cs @@ -126,6 +126,7 @@ namespace BTCPayServer.Data { Type: "LN" } or { Type: "LNURL" } => 11, { Type: "CHAIN", CryptoCode: var code } when code == "XMR" => 12, { Type: "CHAIN" } => 8, + { Type: "LEGACY" } => 18, _ => 8 }; } @@ -140,7 +141,7 @@ namespace BTCPayServer.Data "BTCLike" or "MoneroLike" or "ZcashLike" => $"{cryptoCode}-CHAIN", "LightningLike" or "LightningNetwork" => $"{cryptoCode}-LN", "LNURLPAY" => $"{cryptoCode}-LNURL", - + "EthereumLike" => $"{cryptoCode}-LEGACY", _ => throw new NotSupportedException("Unknown payment type " + paymentType) }; }