Skip to content

Sam/simplify saves#92

Merged
samholmes merged 2 commits intomasterfrom
sam/simplify-saves
Apr 1, 2025
Merged

Sam/simplify saves#92
samholmes merged 2 commits intomasterfrom
sam/simplify-saves

Conversation

@samholmes
Copy link
Copy Markdown
Collaborator

@samholmes samholmes commented Mar 28, 2025

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

@samholmes samholmes force-pushed the sam/simplify-saves branch 2 times, most recently from 8e2c5b0 to 108138a Compare March 28, 2025 16:51

// Already have this tx in the database. Consider a change if blockHeight changed
if (edgeTx.blockHeight === edgeTransaction.blockHeight) return
this.log(`Update transaction: ${edgeTx.txid} height:${edgeTx.blockHeight}`)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should be logging edgeTransaction.blockHeight

@samholmes samholmes force-pushed the sam/simplify-saves branch from 108138a to 2ed33da Compare April 1, 2025 15:06
The purpose of this is to avoid the foot-gun: calling `addTransaction`
when the transaction exists in the database will result in
`updateTransaction` being invoked without the Monero specific tx update
logic.
@samholmes samholmes force-pushed the sam/simplify-saves branch from 2ed33da to 683fab9 Compare April 1, 2025 15:06
@samholmes samholmes merged commit 98f0aac into master Apr 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants