Skip to content

Commit

Permalink
pay: remove inbuilt command in favor of plugin.
Browse files Browse the repository at this point in the history
This doesn't actually remove some of the now-unnecessary infrastructure
though.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell authored and cdecker committed Jan 17, 2019
1 parent 3f8dd7a commit 0a8b4f8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 714 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added

- plugins: fully enabled, and ready for you to write some!
- plugins: `pay` is now a plugin.
- lightning-cli: `help <cmd>` finds man pages even if `make install` not run.
- JSON API: `waitsendpay` now has an `erring_direction` field.
- JSON API: `listpeers` now has a `direction` field in `channels`.
- JSON API: `listchannels` now takes a `source` option to filter by node id.
- JSON API: New command `paystatus` gives detailed information on `pay` commands.

### Changed

Expand Down
2 changes: 1 addition & 1 deletion contrib/pylightning/lightning/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def pay(self, bolt11, msatoshi=None, description=None, riskfactor=None):
"description": description,
"riskfactor": riskfactor
}
return self.call("pay2", payload)
return self.call("pay", payload)

def listpayments(self, bolt11=None, payment_hash=None):
"""
Expand Down
1 change: 0 additions & 1 deletion lightningd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ LIGHTNINGD_SRC := \
lightningd/opening_control.c \
lightningd/options.c \
lightningd/pay.c \
lightningd/payalgo.c \
lightningd/peer_control.c \
lightningd/peer_htlcs.c \
lightningd/ping.c \
Expand Down
Loading

0 comments on commit 0a8b4f8

Please sign in to comment.