Revert "fix tx.get_value bug with pruned transactions"

This reverts commit 8a74be39de7e0aeaf50fd0d4ade9cdef4c51b711.