1
0
Fork 0
forked from lthn/blockchain

rpc: fix for call_COMMAND_RPC_GET_BLOCKS_DIRECT passing parameter

This commit is contained in:
sowle 2020-07-21 22:23:25 +03:00
parent 4afcf646c5
commit b01efe5882
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -39,6 +39,7 @@ namespace tools
currency::COMMAND_RPC_GET_BLOCKS_FAST::request req;
req.block_ids = rqt.block_ids;
req.minimum_height = rqt.minimum_height;
req.need_global_indexes = rqt.need_global_indexes;
currency::COMMAND_RPC_GET_BLOCKS_FAST::response res = AUTO_VAL_INIT(res);
bool r = call_COMMAND_RPC_GET_BLOCKS_FAST(req, res);
rsp.status = res.status;