From d83a8e45636b547795525691d04af5bfee386d32 Mon Sep 17 00:00:00 2001 From: Alfonso Bribiesca Date: Tue, 30 Jul 2024 13:10:41 -0600 Subject: [PATCH] remove handle version two method --- src/Transactions/Deserializer.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Transactions/Deserializer.php b/src/Transactions/Deserializer.php index 9158b28..c0b9924 100644 --- a/src/Transactions/Deserializer.php +++ b/src/Transactions/Deserializer.php @@ -71,16 +71,6 @@ public function deserialize(): Transaction $transaction->data['amount'] = '0'; } - $transaction = $this->handleVersionTwo($transaction); - - return $transaction; - } - - /** - * Handle the deserialization of transaction data with a version of 2.0. - */ - public function handleVersionTwo(Transaction $transaction): Transaction - { $transaction->data['id'] = Hash::sha256($transaction->serialize())->getHex(); return $transaction;