mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +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));
|
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);
|
WalletObjectData.Types.Script);
|
||||||
Set(walletId, reserve);
|
Set(walletId, reserve);
|
||||||
return reserve;
|
return reserve;
|
||||||
|
|
Loading…
Add table
Reference in a new issue