mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopout: add asset accounting
This commit is contained in:
parent
dfa58d4906
commit
3e3c863819
6 changed files with 920 additions and 682 deletions
|
|
@ -349,6 +349,10 @@ func (s *Client) FetchSwaps(ctx context.Context) ([]*SwapInfo, error) {
|
|||
return nil, swap.ErrInvalidOutputType
|
||||
}
|
||||
|
||||
if swp.Contract.AssetSwapInfo != nil {
|
||||
swapInfo.AssetSwapInfo = swp.Contract.AssetSwapInfo
|
||||
}
|
||||
|
||||
swaps = append(swaps, swapInfo)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue