diff options
| author | Andrew Chow <[email protected]> | 2020-04-27 15:27:43 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-05-05 00:24:46 -0400 |
| commit | ca2a09640fe976b1e74a33d29d9381895e71b347 (patch) | |
| tree | 66d30d09368c97caa664139779ade5a1c0c14988 /src/node/ui_interface.cpp | |
| parent | Remove unimplemented SetCrypted from DescriptorScriptPubKeyMan (diff) | |
| download | discoin-ca2a09640fe976b1e74a33d29d9381895e71b347.tar.xz discoin-ca2a09640fe976b1e74a33d29d9381895e71b347.zip | |
Change SetType to SetInternal and remove m_address_type
m_address_type was used for two things:
1. Determine the type of descriptor to generate during
SetupDescriptorGeneration
2. Sanity check during GetNewDestination.
There is no need to have this variable to accomplish those things.
1. Add a argument to SetupDescriptorGeneration indicating the address
type to use
2. Use Descriptor::GetOutputType for the sanity check.
Diffstat (limited to 'src/node/ui_interface.cpp')
0 files changed, 0 insertions, 0 deletions