Fixes unhandled exceptions in Transaction
Fixes undefined check
refactor changes
Merge pull request #1 from maraoz/improve/felipecsl

Improve felipecsl PR
Merge pull request #502 from felipecsl/master

Fixes unhandled exceptions in Transaction