mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-12 01:34:34 +01:00
Fix wallet object script should have script hex as id
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user