transactions error handling
transactions error handling

minor undef checks.

habibmasuro/Decentral,uwecerron/Decentral,habibmasuro/Decentral,uwecerron/Decentral,DecentralBank/Decentral,habibmasuro/Decentral,DecentralBank/Decentral