diff options
author | josibake <josibake@protonmail.com> | 2023-12-22 11:27:53 +0100 |
---|---|---|
committer | josibake <josibake@protonmail.com> | 2024-01-19 15:04:56 +0100 |
commit | f7384b921c3460c7a3cc7827a68b2c613bd98f8e (patch) | |
tree | fa2a0221ac6afb4c038b0cd3df2179675f2d726f /src/wallet/spend.h | |
parent | 6f569ac903e5ddaac275996a5d0c31b2220b7b81 (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