diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-23 11:33:05 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-01-18 16:58:45 +0000 |
commit | a9b1c04acfaa21e7b0adfea9216dffae002ac7e3 (patch) | |
tree | 7dd00c382c1e43e9b781a35ff7407ce273159e8d /src/cryptonote_core | |
parent | Merge pull request #5037 (diff) | |
download | monero-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/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_tx_utils.cpp | 4 |
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 |