currencyrate: fix usage type

The actual rate command is `currencyrates` (plural!).
I just fixed the README.md, however it would be better to
have the plugins name `currencyrate` aligned with its main method
to circumvent users having issues trying around with a new plugin.

@rusty: maybe we add a method `currencyrate` (w/o plural) that simply
calls `currencyrates`...
This commit is contained in:
Michael Schmoock
2023-03-12 16:13:52 +01:00
parent e814a54818
commit ef322df7a6

View File

@@ -22,10 +22,10 @@ options multiple times to add or disable multiple sources.
## Commands
`currencyrate` returns the number of msats per unit from every backend, eg:
`currencyrates` returns the number of msats per unit from every backend, eg:
```
$ lightning-cli currencyrate USD
$ lightning-cli currencyrates USD
{
"localbitcoins": "5347227msat",
"bitstamp": "5577515msat",