mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-28 15:54:19 +01:00
Drop PendingChange field (#331)
* Drop pending_change * Fixes * Polish * Fallback to psbt string
This commit is contained in:
committed by
GitHub
parent
2be78b0115
commit
b15c0868b2
@@ -88,7 +88,6 @@ type Vtxo struct {
|
||||
RedeemTx string
|
||||
UnconditionalForfeitTxs []string
|
||||
Pending bool
|
||||
PendingChange bool
|
||||
SpentBy string
|
||||
}
|
||||
|
||||
|
||||
@@ -462,7 +462,6 @@ func (v vtxo) toVtxo() client.Vtxo {
|
||||
RoundTxid: v.GetPoolTxid(),
|
||||
ExpiresAt: expiresAt,
|
||||
Pending: v.GetPending(),
|
||||
PendingChange: v.GetPendingChange(),
|
||||
RedeemTx: redeemTx,
|
||||
UnconditionalForfeitTxs: uncondForfeitTxs,
|
||||
SpentBy: v.GetSpentBy(),
|
||||
|
||||
@@ -177,7 +177,6 @@ func (a *restClient) ListVtxos(
|
||||
RoundTxid: v.PoolTxid,
|
||||
ExpiresAt: expiresAt,
|
||||
Pending: v.Pending,
|
||||
PendingChange: v.PendingChange,
|
||||
RedeemTx: redeemTx,
|
||||
UnconditionalForfeitTxs: uncondForfeitTxs,
|
||||
SpentBy: v.SpentBy,
|
||||
|
||||
@@ -33,9 +33,6 @@ type V1Vtxo struct {
|
||||
// pending
|
||||
Pending bool `json:"pending,omitempty"`
|
||||
|
||||
// pending change
|
||||
PendingChange bool `json:"pendingChange,omitempty"`
|
||||
|
||||
// pending data
|
||||
PendingData *V1PendingPayment `json:"pendingData,omitempty"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user