Isolating code of on chain specific payment in its own folder

This commit is contained in:
nicolas.dorier
2018-02-19 11:06:08 +09:00
parent 4795bd8108
commit 35f669aa15
9 changed files with 77 additions and 57 deletions

View File

@@ -142,7 +142,7 @@ namespace BTCPayServer.Controllers
{
CryptoData cryptoData = new CryptoData();
cryptoData.SetId(new CryptoDataId(q.network.CryptoCode, PaymentTypes.BTCLike));
BitcoinLikeOnChainPaymentMethod onchainMethod = new BitcoinLikeOnChainPaymentMethod();
Payments.Bitcoin.BitcoinLikeOnChainPaymentMethod onchainMethod = new Payments.Bitcoin.BitcoinLikeOnChainPaymentMethod();
onchainMethod.FeeRate = (await q.getFeeRate);
onchainMethod.TxFee = GetTxFee(storeBlob, onchainMethod.FeeRate); // assume price for 100 bytes
cryptoData.Rate = await q.getRate;