mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-17 20:55:04 +01:00
add listpays
This commit is contained in:
@@ -482,6 +482,16 @@ ln_listfunds() {
|
||||
echo "${result}"
|
||||
return ${returncode}
|
||||
}
|
||||
ln_listpays() {
|
||||
trace "Entering ln_listpays()..."
|
||||
local result
|
||||
result=$(./lightning-cli listpays)
|
||||
returncode=$?
|
||||
trace_rc ${returncode}
|
||||
trace "[ln_listpays] result=${result}"
|
||||
echo "${result}"
|
||||
return ${returncode}
|
||||
}
|
||||
ln_getroute() {
|
||||
trace "Entering ln_getroute()..."
|
||||
# Defaults used from c-lightning documentation
|
||||
|
||||
Reference in New Issue
Block a user