From bdc4d09b257965598074aafc7bf828076c2417b5 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 18 Oct 2017 22:16:40 -0700 Subject: [PATCH] rpc: display the cltv expiry in decoded pay req --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcserver.go b/rpcserver.go index 82e6fdc24..75d574be7 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -2905,6 +2905,7 @@ func (r *rpcServer) DecodePayReq(ctx context.Context, DescriptionHash: hex.EncodeToString(descHash[:]), FallbackAddr: fallbackAddr, Expiry: expiry, + CltvExpiry: int64(payReq.MinFinalCLTVExpiry()), }, nil }