aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-12-16 11:28:22 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-12-19 09:45:39 +0100
commitfadd4029dced574778ade228931a7706f92bc676 (patch)
tree0779b54f6c47226ccd1524ff3855c63350ae6ed9 /share
parent20f4a9421ba644a1a1443aa16feb0aa481a0974f (diff)
downloadbitcoin-fadd4029dced574778ade228931a7706f92bc676.tar.xz
psbt: Assert that tx has a value in UpdatePSBTOutput
This was previously done implicitly in boost::optional by BOOST_ASSERT. Also, it was checked at runtime by valgrind if for some reason the assert was disabled. std::optional dereference won't assert, so add the Assert here explicitly. The explicit Assert also helps to document the code better.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions