File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,6 @@ isminetype LegacyDataSPKM::IsMine(const CScript& script) const
204
204
case IsMineResult::NO:
205
205
return ISMINE_NO;
206
206
case IsMineResult::WATCH_ONLY:
207
- return ISMINE_WATCH_ONLY;
208
207
case IsMineResult::SPENDABLE:
209
208
return ISMINE_SPENDABLE;
210
209
}
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ namespace wallet {
25
25
*
26
26
* For LegacyScriptPubKeyMan,
27
27
* ISMINE_NO: the scriptPubKey is not in the wallet;
28
- * ISMINE_WATCH_ONLY: the scriptPubKey has been imported into the wallet;
29
28
* ISMINE_SPENDABLE: the scriptPubKey corresponds to an address owned by the wallet user (can spend with the private key);
30
29
* ISMINE_USED: the scriptPubKey corresponds to a used address owned by the wallet user;
31
30
* ISMINE_ALL: all ISMINE flags except for USED;
@@ -40,10 +39,9 @@ namespace wallet {
40
39
*/
41
40
enum isminetype : unsigned int {
42
41
ISMINE_NO = 0 ,
43
- ISMINE_WATCH_ONLY = 1 << 0 ,
44
42
ISMINE_SPENDABLE = 1 << 1 ,
45
43
ISMINE_USED = 1 << 2 ,
46
- ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE,
44
+ ISMINE_ALL = ISMINE_SPENDABLE,
47
45
ISMINE_ALL_USED = ISMINE_ALL | ISMINE_USED,
48
46
ISMINE_ENUM_ELEMENTS,
49
47
};
You can’t perform that action at this time.
0 commit comments