1
0
Fork 0
forked from lthn/blockchain

fixed a warning

This commit is contained in:
sowle 2024-09-24 15:59:43 +02:00
parent 39201f3d4a
commit 75e30c1372
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -1376,7 +1376,7 @@ namespace currency
LOCAL_CHECK(req.address != account_public_address{}, "address is missing");
LOCAL_CHECK(req.viewkey != null_skey, "viewkey is missing");
LOCAL_CHECK(0 <= req.blocks_limit && req.blocks_limit <= 5, "blocks_limit is out of allowed bounds");
LOCAL_CHECK(req.blocks_limit <= 5, "blocks_limit is out of allowed bounds");
// verify addess keys
crypto::point_t view_pk, spend_pk;