Revert "Modifications in Transaction class"

This reverts commit 529958db07bb1b10bd0677862f1381d5b9a22c6a.