Browse Source
`wallet_payment_store` would free the `wallet_payment` instance which would then cause us to reload it from the DB. Instead of doing the store->free->load dance we now tell `wallet_payment_store` whether it should take ownership and leave it alone if not. Passing the payment around instead of referencing it through payment_hash and partid is a nice side-effect.travis-debug
Christian Decker
5 years ago
6 changed files with 38 additions and 34 deletions
Loading…
Reference in new issue