diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2024-05-20 23:42:54 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2024-05-20 23:42:54 -0500 |
| commit | 1ec7eae0364a9d13db6aebc5819468f07667e7ab (patch) | |
| tree | 838c211368e6b486fef301b696cfc0bddbf6647b /src/rpc/daemon_handler.cpp | |
| parent | 2f0503d7f3462410a8c21a7baca35fa18763b4b7 (diff) | |
| parent | dd47d03cf2b5b3dc59cd99aca247d1025679f83a (diff) | |
| download | monzero-core-1ec7eae0364a9d13db6aebc5819468f07667e7ab.tar.gz monzero-core-1ec7eae0364a9d13db6aebc5819468f07667e7ab.tar.xz monzero-core-1ec7eae0364a9d13db6aebc5819468f07667e7ab.zip | |
Merge pull request #9311
dd47d03 Enforce Tx unlock_time is Zero by Relay Rule [RELEASE] (jeffro256)
Diffstat (limited to 'src/rpc/daemon_handler.cpp')
| -rw-r--r-- | src/rpc/daemon_handler.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rpc/daemon_handler.cpp b/src/rpc/daemon_handler.cpp index 0466c92c2..11ab80666 100644 --- a/src/rpc/daemon_handler.cpp +++ b/src/rpc/daemon_handler.cpp @@ -422,6 +422,16 @@ namespace rpc if (!res.error_details.empty()) res.error_details += " and "; res.error_details += "too few outputs"; } + if (tvc.m_tx_extra_too_big) + { + if (!res.error_details.empty()) res.error_details += " and "; + res.error_details += "tx_extra too long"; + } + if (tvc.m_nonzero_unlock_time) + { + if (!res.error_details.empty()) res.error_details += " and "; + res.error_details += "non-zero unlock time"; + } if (res.error_details.empty()) { res.error_details = "an unknown issue was found with the transaction"; |
