diff options
author | MacroFake <falke.marco@gmail.com> | 2022-06-21 11:42:53 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-06-21 11:42:58 +0200 |
commit | b1788072657d17070fc9adcc2fa1201a8c8acdf8 (patch) | |
tree | 83088291a186778da34752739c5ff3f1195db2d2 /src/threadsafety.h | |
parent | 1d39c9ca0672e7ad4c1f0959f9d58d2fcc7dc46b (diff) | |
parent | be8d0dba15528ac75a2c73d9f696b1db567d4ca4 (diff) |
Merge bitcoin/bitcoin#25430: test: refactor: save MiniWallet mode explicitly
be8d0dba15528ac75a2c73d9f696b1db567d4ca4 test: refactor: save MiniWallet mode explicitly (Sebastian Falbesoner)
Pull request description:
Rather than abusing the member variables `self._priv_key` and `self._address` to determine the MiniWallet mode, save it explicitly (`self._mode`) in the constructor and use that instead to increase the readability and maintainability of the code.
ACKs for top commit:
MarcoFalke:
review ACK be8d0dba15528ac75a2c73d9f696b1db567d4ca4 🔳
Tree-SHA512: 882c635e39c89911d995917a0603395158ee86dc46b26a49815756db67c61a7aa35059eddf1dc6f2933a77169941426b98bd463e60e39515a596b1b69edf89df
Diffstat (limited to 'src/threadsafety.h')
0 files changed, 0 insertions, 0 deletions