aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-05-29 14:02:08 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-05-29 14:02:08 -0300
commit57fb37c27599fc865f20b42a27bb9c227f384de3 (patch)
tree84cdefd6f0d8a0f6f584ee7b45d046ce89c66aeb /.gitattributes
parentba48fcf4a40c5b9888459511fb4233a1b89184cc (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