Have address wallet objects rather than script objects (#4417)

This commit is contained in:
Nicolas Dorier
2022-12-13 09:09:25 +09:00
committed by GitHub
parent 3673230fdf
commit 0c3f819200
11 changed files with 67 additions and 55 deletions

View File

@@ -391,8 +391,8 @@ namespace BTCPayServer.Controllers
await _walletRepository.EnsureWalletObjectLink(
new WalletObjectId(
walletId,
WalletObjectData.Types.Script,
address.ScriptPubKey.ToHex()),
WalletObjectData.Types.Address,
address.ToString()),
new WalletObjectId(
walletId,
WalletObjectData.Types.Invoice,