Skip to content

Commit 593271a

Browse files
committed
rpc: populate lease owner+expiry for managed utxos
1 parent 3dac194 commit 593271a

File tree

4 files changed

+717
-675
lines changed

4 files changed

+717
-675
lines changed

rpcserver.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,8 @@ func (r *rpcServer) ListUtxos(ctx context.Context,
11791179
InternalKey: u.InternalKey.PubKey.SerializeCompressed(),
11801180
TaprootAssetRoot: u.TaprootAssetRoot,
11811181
MerkleRoot: u.MerkleRoot,
1182+
LeaseOwner: u.LeaseOwner[:],
1183+
LeaseExpiryUnix: u.LeaseExpiry.Unix(),
11821184
}
11831185
}
11841186

0 commit comments

Comments
 (0)