diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-05-29 14:02:08 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-05-29 14:02:08 -0300 |
commit | 57fb37c27599fc865f20b42a27bb9c227f384de3 (patch) | |
tree | 84cdefd6f0d8a0f6f584ee7b45d046ce89c66aeb /.gitattributes | |
parent | ba48fcf4a40c5b9888459511fb4233a1b89184cc (diff) |
wallet: CommitTransaction, remove extra wtx lookup and add exception for a possible db write error.
1) `Wallet::AddToWallet` is already returning the pointer to the inserted `CWalletTx`, so there is no need to look it up in the map again.
2) `Wallet::AddToWallet` can only return a nullptr if the db `writeTx` call failed. Which should be treated as an error.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions