fix for linux build

This commit is contained in:
team-devstage 2020-11-05 17:04:15 +01:00 committed by Ulf Gebhardt
parent d9d5dc81cd
commit e50e186412
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -146,7 +146,7 @@ Poco::JSON::Object* JsonCreateTransaction::creation(Poco::Dynamic::Var params)
if (mReceiverUser.isNull()) {
mReceiverUser = controller::User::create();
if (1 != mReceiverUser->load(*target_pubkey)) {
if (1 != mReceiverUser->load(target_pubkey->data())) {
mReceiverUser.assign(nullptr);
result = customStateError("not found", "receiver not found");
}
@ -265,4 +265,4 @@ bool JsonCreateTransaction::getTargetGroup(Poco::Dynamic::Var params)
return false;
}
return false;
}
}