File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -352,8 +352,8 @@ std::optional<int64_t> SilentPaymentsSPKM::GetOldestKeyPoolTime() const
352
352
353
353
unsigned int SilentPaymentsSPKM::GetKeyPoolSize () const
354
354
{
355
- // Keypool size doesn't make sense for silent payments, just return 1
356
- return 1 ;
355
+ // Keypool size doesn't make sense for silent payments, just return 0
356
+ return 0 ;
357
357
}
358
358
359
359
int64_t SilentPaymentsSPKM::GetTimeFirstKey () const
Original file line number Diff line number Diff line change @@ -100,7 +100,8 @@ class SilentPaymentsSPKM : public ScriptPubKeyMan
100
100
101
101
bool TopUp (unsigned int size = 0 ) override ;
102
102
103
- bool IsHDEnabled () const override { return false ; }
103
+ // HD isn't really a concept that makes sense for silent payments, just return true unconditionally to avoid breaking other stuff
104
+ bool IsHDEnabled () const override { return true ; }
104
105
bool CanGetAddresses (bool internal = false ) const override { return true ; }
105
106
bool HavePrivateKeys () const override
106
107
{
You can’t perform that action at this time.
0 commit comments