Bootstrap contract user pubkey fix.

This commit is contained in:
ravinsp
2022-01-27 10:43:13 +05:30
parent 09510a623c
commit 656fc8b662

View File

@@ -31,7 +31,7 @@ int main(int argc, char **argv)
const struct hp_user *user = &ctx->users.list[u];
// We allow only the owner of the instance to upload the bundle.zip
if (strcmp(user->pubkey, argv[1]) != 0)
if (strcmp(user->pubkey.data, argv[1]) != 0)
continue;
// Iterate through all inputs from this user.