mirror of
https://github.com/wassname/ray.git
synced 2026-07-31 12:41:01 +08:00
Fix task ID hash computation. (#774)
This commit is contained in:
committed by
Philipp Moritz
parent
0f0acb8ac1
commit
8ad9ced99b
+1
-1
@@ -68,7 +68,7 @@ class TaskBuilder {
|
||||
auto arg = fbb.CreateString((const char *) value, length);
|
||||
auto empty_id = fbb.CreateString("", 0);
|
||||
args.push_back(CreateArg(fbb, empty_id, arg));
|
||||
sha256_update(&ctx, (BYTE *) &value, length);
|
||||
sha256_update(&ctx, (BYTE *) value, length);
|
||||
}
|
||||
|
||||
void SetRequiredResource(int64_t resource_index, double value) {
|
||||
|
||||
Reference in New Issue
Block a user