core-lightning/wallet
Rusty Russell bbac67f108 withdraw_tx: don't create empty output if no change.
We were using changekey as the flag to produce change, not changesat,
but the caller was using changesat as the flag.

Also, don't allocate changekey at all if we don't need it; this means
valgrind will complain if we use it at all, too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-12-20 12:56:15 +01:00
..
test Re-enable builds with DEVELOPER=0 2017-12-20 12:43:10 +01:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c database: don't leak query string. 2017-12-13 22:46:10 +01:00
db.h db: make db_exec() an internal function. 2017-11-06 10:24:34 +01:00
Makefile wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
wallet.c wallet: don't leak channel struct when peer freed. 2017-12-20 12:43:10 +01:00
wallet.h funding_spent: fix leaks. 2017-12-20 12:43:10 +01:00
walletrpc.c withdraw_tx: don't create empty output if no change. 2017-12-20 12:56:15 +01:00
walletrpc.h walletrpc: Implemented the withdrawal flow 2017-06-23 16:02:20 +09:30