Fix build warning in Invoice Testing Controller (#3191)

This commit is contained in:
d11n
2021-12-10 12:31:04 +01:00
committed by GitHub
parent cf772bb9e0
commit 2b1436e303

View File

@@ -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();