mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 04:34:19 +01:00
Add forfeit address in GetInfo (#326)
* keep track of forfeit transaction funds * [btc-embedded] use p2wpkh address * [sdk] fix clients * use script as argument of BuildForfeitTxs
This commit is contained in:
@@ -115,6 +115,7 @@ func (a *arkClient) InitWithWallet(
|
||||
UnilateralExitDelay: info.UnilateralExitDelay,
|
||||
Dust: info.Dust,
|
||||
BoardingDescriptorTemplate: info.BoardingDescriptorTemplate,
|
||||
ForfeitAddress: info.ForfeitAddress,
|
||||
}
|
||||
if err := a.store.AddData(ctx, storeData); err != nil {
|
||||
return err
|
||||
@@ -181,6 +182,7 @@ func (a *arkClient) Init(
|
||||
Dust: info.Dust,
|
||||
BoardingDescriptorTemplate: info.BoardingDescriptorTemplate,
|
||||
ExplorerURL: args.ExplorerURL,
|
||||
ForfeitAddress: info.ForfeitAddress,
|
||||
}
|
||||
walletSvc, err := getWallet(a.store, &storeData, supportedWallets)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user