mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
rpc: display the cltv expiry in decoded pay req
This commit is contained in:
@@ -2905,6 +2905,7 @@ func (r *rpcServer) DecodePayReq(ctx context.Context,
|
||||
DescriptionHash: hex.EncodeToString(descHash[:]),
|
||||
FallbackAddr: fallbackAddr,
|
||||
Expiry: expiry,
|
||||
CltvExpiry: int64(payReq.MinFinalCLTVExpiry()),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user