Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove cached property #105

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions rexchain/blockchain/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def create_raw_msg(self):
)
self.raw_msg = msg.encode('utf-8')

@cached_property
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

def get_previous_hash(self):
''' Get before hash transaction '''
return self.previous_hash
Expand Down Expand Up @@ -152,7 +151,6 @@ def get_delta_datetime(self):
''' Fix 6 hours timedelta on rx '''
return self.timestamp

@cached_property
def get_before_hash(self):
''' Get before hash Payload '''
return self.previous_hash
Expand Down