diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2023-03-06 12:49:39 +0100 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2023-03-06 16:06:05 +0100 |
commit | a981af4e6fd0047bc3e96468db48dd7820dac808 (patch) | |
tree | bc01cd177af39391ad7886849f646276ec8e0df9 /src/pow.cpp | |
parent | 40c6c85c05812ee8bf824b639307b1ac17a001c4 (diff) |
gui: use the stored CSubNet entry when unbanning
The previous code visualized the `CSubNet` object as string, then
parsed that string back to `CSubNet`. This is sub-optimal given that
the original `CSubNet` object can be used directly instead.
This avoids calling `LookupSubNet()` from the GUI.
Co-authored-by: furszy <matiasfurszyfer@protonmail.com>
Diffstat (limited to 'src/pow.cpp')
0 files changed, 0 insertions, 0 deletions