mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Fix build warning in Invoice Testing Controller (#3191)
This commit is contained in:
@@ -67,7 +67,7 @@ namespace BTCPayServer.Controllers
|
||||
[HttpPost]
|
||||
[Route("i/{invoiceId}/mine-blocks")]
|
||||
[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
|
||||
var blockRewardBitcoinAddress = cheater.CashCow.GetNewAddress();
|
||||
|
||||
Reference in New Issue
Block a user