| 4111 | } |
| 4112 | |
| 4113 | bool CWallet::SetMasterBlindingKey(const uint256& key) |
| 4114 | { |
| 4115 | AssertLockHeld(cs_wallet); |
| 4116 | if (!WalletBatch(GetDatabase()).WriteBlindingDerivationKey(key)) { |
| 4117 | return false; |
| 4118 | } |
| 4119 | blinding_derivation_key = key; |
| 4120 | return true; |
| 4121 | } |
| 4122 | |
| 4123 | // END ELEMENTS |
| 4124 | // |
no test coverage detected