Rename API fields (#337)

* Update api-spec

* Update ASP (also domain to drop "pool" completely)

* Update sdk

* Update protos

* Update asp

* Update sdk

* Fixes
This commit is contained in:
Pietralberto Mazza
2024-09-27 15:35:31 +02:00
committed by GitHub
parent f36a747c59
commit 3271776954
25 changed files with 593 additions and 595 deletions

View File

@@ -1274,7 +1274,7 @@ func (s *covenantlessService) propagateEvents(round *domain.Round) {
Id: e.Id,
CongestionTree: e.CongestionTree,
Connectors: e.Connectors,
PoolTx: e.PoolTx,
RoundTx: e.RoundTx,
MinRelayFeeRate: int64(s.wallet.MinRelayFeeRate(context.Background())),
}
s.lastEvent = ev
@@ -1357,9 +1357,9 @@ func (s *covenantlessService) getNewVtxos(round *domain.Round) []domain.Vtxo {
if found {
vtxos = append(vtxos, domain.Vtxo{
VtxoKey: domain.VtxoKey{Txid: node.Txid, VOut: uint32(i)},
Receiver: domain.Receiver{Descriptor: desc, Amount: uint64(out.Value)},
PoolTx: round.Txid,
VtxoKey: domain.VtxoKey{Txid: node.Txid, VOut: uint32(i)},
Receiver: domain.Receiver{Descriptor: desc, Amount: uint64(out.Value)},
RoundTxid: round.Txid,
})
break
}