Skip to content

Commit bed9572

Browse files
committed
[Stealth] Cleanup stealth class constructor
1 parent f49d58c commit bed9572

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/bdap/stealth.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,7 @@ static bool VerifyChecksum(const std::vector<uint8_t> &data)
5353
CStealthAddress::CStealthAddress(const CKey& scanKey, const CKey& spendKey)
5454
{
5555
options = 0;
56-
//uint8_t tmp32[32];
57-
//CSHA256().Write(scanKey.begin(), 32).Finalize(tmp32);
58-
//memcpy(&prefix_number_bits, tmp32, 4);
59-
//CSHA256().Write(spendKey.begin(), 32).Finalize(tmp32);
60-
//size_t nPrefixBytes = std::ceil((float)prefix_number_bits / 8.0);
61-
//memcpy(&prefix_bitfield, tmp32, nPrefixBytes);
56+
// TODO (Stealth): Set determinalistic prefix based on spendKey
6257
prefix_number_bits = 0;
6358
prefix_bitfield = 0;
6459
number_signatures = 1;

0 commit comments

Comments
 (0)