diff --git a/src/main/python/antidotedb/antidoteclient.py b/src/main/python/antidotedb/antidoteclient.py index 979b674..4e3a333 100644 --- a/src/main/python/antidotedb/antidoteclient.py +++ b/src/main/python/antidotedb/antidoteclient.py @@ -644,14 +644,11 @@ def commit( self) : return res.success == True def abort( self) : - """ Commit transaction. Commit time gets recoded in AntidoteClient as - last_commit + """ Abort transaction """ op = ApbAbortTransaction() op.transaction_descriptor = self.txDescriptor - self.antidoteClient.sendMessageCommitTransaction( op) - res = self.antidoteClient.recvMessageCommitResp() - return res + self.antidoteClient.sendMessageAbortTransaction( op) @@ -841,4 +838,4 @@ def sendMessageStaticReadObjects( self, msg) : - \ No newline at end of file +