aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/spend.h
diff options
context:
space:
mode:
authorjosibake <josibake@protonmail.com>2023-12-22 11:27:53 +0100
committerjosibake <josibake@protonmail.com>2024-01-19 15:04:56 +0100
commitf7384b921c3460c7a3cc7827a68b2c613bd98f8e (patch)
treefa2a0221ac6afb4c038b0cd3df2179675f2d726f /src/wallet/spend.h
parent6f569ac903e5ddaac275996a5d0c31b2220b7b81 (diff)
refactor: move parsing to new function
Move the parsing and validation out of `AddOutputs` into its own function, `ParseOutputs`. This allows us to re-use this logic in `ParseRecipients` in a later commit, where the code is currently duplicated. The new `ParseOutputs` function returns a CTxDestination,CAmount tuples. This allows the caller to then translate the validated outputs into either CRecipients or CTxOuts.
Diffstat (limited to 'src/wallet/spend.h')
0 files changed, 0 insertions, 0 deletions