We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f36c8 commit 4fdcb29Copy full SHA for 4fdcb29
src/peersafe/app/misc/Executive.h
@@ -7,6 +7,7 @@
7
namespace ripple {
8
const std::string ERRFUNSIG = "08C379A0";
9
const std::string REVERTFUNSIG = "4E487B71";
10
+ const std::string SELFDEFFUNSIG = "00000000";
11
/**
12
* @brief Message-call/contract-creation executor; useful for executing transactions.
13
*
src/peersafe/app/misc/impl/Executive.cpp
@@ -456,7 +456,7 @@ void Executive::formatOutput(eth::owning_bytes_ref output)
456
Blob blob;
457
458
//self-define exception in go()
459
- if ((str.length() >=4) && (str.substr(0, 4) == "\0\0\0\0"))
+ if (funSig == SELFDEFFUNSIG)
460
{
461
blob = strCopy(str.substr(4,str.size() - 4));
462
}
0 commit comments