mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 20:54:20 +01:00
Add SpentBy field to client.Vtxo (#285)
This commit is contained in:
committed by
GitHub
parent
e46f2ce392
commit
b5e1ea4d57
@@ -81,6 +81,7 @@ type Vtxo struct {
|
||||
RedeemTx string
|
||||
UnconditionalForfeitTxs []string
|
||||
Pending bool
|
||||
SpentBy string
|
||||
}
|
||||
|
||||
type Output struct {
|
||||
|
||||
@@ -427,6 +427,7 @@ func (v vtxo) toVtxo() client.Vtxo {
|
||||
Pending: v.GetPending(),
|
||||
RedeemTx: redeemTx,
|
||||
UnconditionalForfeitTxs: uncondForfeitTxs,
|
||||
SpentBy: v.GetSpentBy(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -168,6 +168,7 @@ func (a *restClient) ListVtxos(
|
||||
Pending: v.Pending,
|
||||
RedeemTx: redeemTx,
|
||||
UnconditionalForfeitTxs: uncondForfeitTxs,
|
||||
SpentBy: v.SpentBy,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -196,6 +197,7 @@ func (a *restClient) ListVtxos(
|
||||
Amount: uint64(amount),
|
||||
RoundTxid: v.PoolTxid,
|
||||
ExpiresAt: expiresAt,
|
||||
SpentBy: v.SpentBy,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user