mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 17:26:05 +01:00
19 lines
473 B
C#
19 lines
473 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace BTCPayServer.Data
|
||
|
{
|
||
|
public partial class PayoutData
|
||
|
{
|
||
|
public void Migrate()
|
||
|
{
|
||
|
PayoutMethodId = MigrationExtensions.MigratePaymentMethodId(PayoutMethodId);
|
||
|
// Could only be BTC-LN or BTC-CHAIN, so we extract the crypto currency
|
||
|
Currency = PayoutMethodId.Split('-')[0];
|
||
|
}
|
||
|
}
|
||
|
}
|