corr unmarshal retcode proc in _DecodeHeirEitherOpRet

GetTokenBalance returns error always, obsolete
This commit is contained in:
dimxy
2019-01-13 23:07:31 +05:00
parent 97a030d05a
commit d41cd8b991
2 changed files with 6 additions and 3 deletions

View File

@@ -423,7 +423,7 @@ uint8_t _DecodeHeirEitherOpret(CScript scriptPubKey, uint256 &tokenid, CPubKey&
// restore the second opret:
heirScript = CScript();
if (E_UNMARSHAL(vopretExtra, { ss >> vopretStripped; })) { //strip string size
if (!E_UNMARSHAL(vopretExtra, { ss >> vopretStripped; })) { //strip string size
if (!noLogging) std::cerr << "_DecodeHeirEitherOpret() could not unmarshal vopretStripped" << std::endl;
return (uint8_t)0;
}