diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-12-02 13:56:51 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-12-02 13:56:57 +0100 |
commit | 0bd7ca9a036ea33397b04cade07d9acc1c31cd30 (patch) | |
tree | 0b36c52bb919baef2ec5c2fe92c4b3f4fe89f30d /src/wallet/rpc/util.cpp | |
parent | 6acda4b00b3fc1bfac02f5de590e1a5386cbc779 (diff) | |
parent | 33330702081f67cb05fd86e00b252f6355249513 (diff) |
Merge bitcoin/bitcoin#23642: refactor: Call type-solver earlier in decodescript
33330702081f67cb05fd86e00b252f6355249513 refactor: Call type-solver earlier in decodescript (MarcoFalke)
fab0d998f4bf0f3f09afa51845d91408dd484408 style: Remove whitespace (MarcoFalke)
Pull request description:
The current logic is a bit confusing. First creating the `UniValue` return dict, then parsing it again to get the type as `std::string`.
Clean this up by using a strong type `TxoutType`. Also, remove whitespace.
ACKs for top commit:
shaavan:
ACK 33330702081f67cb05fd86e00b252f6355249513
theStack:
Code-review ACK 33330702081f67cb05fd86e00b252f6355249513
Tree-SHA512: 49db7bc614d2491cd3ec0177d21ad1e9924dbece1eb5635290cd7fd18cb30adf4711b891daf522e7c4f6baab3033b66393bbfcd1d4726f24f90a433124f925d6
Diffstat (limited to 'src/wallet/rpc/util.cpp')
0 files changed, 0 insertions, 0 deletions