Skip to content

Commit

Permalink
rpc: populate lease owner+expiry for managed utxos
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Jul 18, 2024
1 parent a18a23b commit 55e6f68
Show file tree
Hide file tree
Showing 4 changed files with 717 additions and 675 deletions.
2 changes: 2 additions & 0 deletions rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,8 @@ func (r *rpcServer) ListUtxos(ctx context.Context,
InternalKey: u.InternalKey.PubKey.SerializeCompressed(),
TaprootAssetRoot: u.TaprootAssetRoot,
MerkleRoot: u.MerkleRoot,
LeaseOwner: u.LeaseOwner[:],
LeaseExpiryUnix: u.LeaseExpiry.Unix(),
}
}

Expand Down
Loading

0 comments on commit 55e6f68

Please sign in to comment.