mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-19 05:04:21 +01:00
Get current round & Return spent vtxos for user (#139)
This commit is contained in:
committed by
GitHub
parent
740d4fb7b1
commit
7fc8d7d07d
@@ -31,8 +31,8 @@ func getVtxos(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
vtxos := make([]vtxo, 0, len(response.Vtxos))
|
||||
for _, v := range response.Vtxos {
|
||||
vtxos := make([]vtxo, 0, len(response.GetSpendableVtxos()))
|
||||
for _, v := range response.GetSpendableVtxos() {
|
||||
vtxos = append(vtxos, vtxo{
|
||||
amount: v.Receiver.Amount,
|
||||
txid: v.Outpoint.Txid,
|
||||
|
||||
Reference in New Issue
Block a user