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()) { if (mReceiverUser.isNull()) {
mReceiverUser = controller::User::create(); mReceiverUser = controller::User::create();
if (1 != mReceiverUser->load(*target_pubkey)) { if (1 != mReceiverUser->load(target_pubkey->data())) {
mReceiverUser.assign(nullptr); mReceiverUser.assign(nullptr);
result = customStateError("not found", "receiver not found"); result = customStateError("not found", "receiver not found");
} }