aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-23 11:33:05 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-18 16:58:45 +0000
commita9b1c04acfaa21e7b0adfea9216dffae002ac7e3 (patch)
tree7dd00c382c1e43e9b781a35ff7407ce273159e8d /src
parentMerge pull request #5037 (diff)
downloadmonero-a9b1c04acfaa21e7b0adfea9216dffae002ac7e3.tar.xz
crptonote_core: do not error out sending unparsable extra field
extra is arbitrary, and the user may well want to send custom data
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/cryptonote_tx_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_tx_utils.cpp b/src/cryptonote_core/cryptonote_tx_utils.cpp
index f443d638c..c1e63acd8 100644
--- a/src/cryptonote_core/cryptonote_tx_utils.cpp
+++ b/src/cryptonote_core/cryptonote_tx_utils.cpp
@@ -260,8 +260,8 @@ namespace cryptonote
}
else
{
- LOG_ERROR("Failed to parse tx extra");
- return false;
+ MWARNING("Failed to parse tx extra");
+ tx_extra_fields.clear();
}
struct input_generation_context_data