mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Fix build warning in Invoice Testing Controller (#3191)
This commit is contained in:
@@ -67,7 +67,7 @@ namespace BTCPayServer.Controllers
|
|||||||
[HttpPost]
|
[HttpPost]
|
||||||
[Route("i/{invoiceId}/mine-blocks")]
|
[Route("i/{invoiceId}/mine-blocks")]
|
||||||
[CheatModeRoute]
|
[CheatModeRoute]
|
||||||
public async Task<IActionResult> MineBlock(string invoiceId, MineBlocksRequest request, [FromServices] Cheater cheater)
|
public IActionResult MineBlock(string invoiceId, MineBlocksRequest request, [FromServices] Cheater cheater)
|
||||||
{
|
{
|
||||||
// TODO support altcoins, not just bitcoin
|
// TODO support altcoins, not just bitcoin
|
||||||
var blockRewardBitcoinAddress = cheater.CashCow.GetNewAddress();
|
var blockRewardBitcoinAddress = cheater.CashCow.GetNewAddress();
|
||||||
|
|||||||
Reference in New Issue
Block a user