mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
Fix wallet object script should have script hex as id
This commit is contained in:
parent
80a257e85f
commit
727cf84080
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ namespace BTCPayServer.Services.Wallets
|
|||
}
|
||||
|
||||
var reserve = (await wallet.ReserveAddressAsync(derivationScheme.AccountDerivation));
|
||||
await _walletRepository.AddWalletTransactionAttachment(walletId, reserve.ScriptPubKey.ToString(), new []{new Attachment("receive")},
|
||||
await _walletRepository.AddWalletTransactionAttachment(walletId, reserve.ScriptPubKey.ToHex(), new []{new Attachment("receive")},
|
||||
WalletObjectData.Types.Script);
|
||||
Set(walletId, reserve);
|
||||
return reserve;
|
||||
|
|
Loading…
Add table
Reference in a new issue