From 656fc8b662dcda0d57c46e39be9566eb37bce1da Mon Sep 17 00:00:00 2001 From: ravinsp <33562092+ravinsp@users.noreply.github.com> Date: Thu, 27 Jan 2022 10:43:13 +0530 Subject: [PATCH] Bootstrap contract user pubkey fix. --- bootstrap-contract/bootstrap_contract.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-contract/bootstrap_contract.cpp b/bootstrap-contract/bootstrap_contract.cpp index cb6ddef..1826759 100644 --- a/bootstrap-contract/bootstrap_contract.cpp +++ b/bootstrap-contract/bootstrap_contract.cpp @@ -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.