Remove global xpubs

This commit is contained in:
nicolas.dorier 2019-07-25 19:38:29 +09:00
parent 6df6537cf9
commit d9baea4c38
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -44,6 +44,8 @@ namespace BTCPayServer.Controllers
var psbt = (await nbx.CreatePSBTAsync(derivationSettings.AccountDerivation, psbtRequest, cancellationToken));
if (psbt == null)
throw new NotSupportedException("You need to update your version of NBXplorer");
// Not supported by coldcard, remove when they do support it
psbt.PSBT.GlobalXPubs.Clear();
return psbt;
}