Command line implementation of invoice commands (#96)

* add issue_invoice_tx command

* rustfmt

* add first pass at process_invoice command

* start of process_invoice fn

* rustfmt

* rename issue invoice and process invoice to invoice and pay

* add prompting and display information to pay invoice command

* rustfmt

* support invoice transactions in finalize command

* rustfmt
This commit is contained in:
Yeastplume
2019-05-09 19:06:32 +01:00
committed by GitHub
parent 7a39c7cf3c
commit 6f875c5e92
8 changed files with 530 additions and 15 deletions
+1
View File
@@ -124,6 +124,7 @@ fn invoice_tx_impl(test_dir: &str) -> Result<(), libwallet::Error> {
..Default::default()
};
slate = api.process_invoice_tx(&slate, args)?;
api.tx_lock_outputs(&slate)?;
Ok(())
})?;