mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Fix fetching xpub for trezor
This commit is contained in:
@@ -198,7 +198,7 @@ namespace BTCPayServer.Controllers
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
await websocketHelper.Send("{ \"info\": \"ok\"}", cancellationToken);
|
||||
var askedXpub = JObject.Parse(await websocketHelper.NextMessageAsync(cancellationToken));
|
||||
var addressType = askedXpub["addressType"].Value<string>();
|
||||
var accountNumber = askedXpub["accountNumber"].Value<int>();
|
||||
|
||||
Reference in New Issue
Block a user