mastercoin-MSC / mastercore

mastercore info
mastercoin.org
MIT License
24 stars 11 forks source link

009 add errorcode #166

Closed ghost closed 9 years ago

ghost commented 9 years ago

@m21 if you'll notice, in INTERNAL_1packet the convention was to reduce the 'rc' by some amount:

rc -= 1;

I replaced these with constants, just would like to hear what you think about that, as the logic changes slightly:

rc = MP_INSUF_FUNDS_APENDI;