Browse Source
* Fix dev_setfees to set slow and normal fees correctly. Due to a bug def_setfees(100, slow=100) would instead set immediate and normal fees to 100. This behavior has been updated to set fees to correct values, make the values truly optional as per documentation and unit test this behavior. * Fix pay() to set msatoshi, description and risk factor properly Due to a bug pay(invoice, description='1000') resulted in payment of 1000 msatoshi instead. This was fixed and covered with tests. * Fix named args in listpayments, listpeers and connect * Do not pass None to methods where it is default value * Make description on invoice and pay match. Suggested-by: @ZmnSCPxj * Fix dev_setfees to set slow and normal fees correctly. Due to a bug def_setfees(100, slow=100) would instead set immediate and normal fees to 100. This behavior has been updated to set fees to correct values, make the values truly optional as per documentation and unit test this behavior. * Fix pay() to set msatoshi, description and risk factor properly Due to a bug pay(invoice, description='1000') resulted in payment of 1000 msatoshi instead. This was fixed and covered with tests. * Fix named args in listpayments, listpeers and connect * Do not pass None to methods where it is default value * Make description on invoice and pay match. Suggested-by: @ZmnSCPxjppa-0.6.1
Anton Astafiev
7 years ago
committed by
Christian Decker
2 changed files with 65 additions and 5 deletions
Loading…
Reference in new issue