Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

feat: revert BUMP calculation to sync task #447

Merged
merged 1 commit into from
Oct 26, 2023
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
3 changes: 3 additions & 0 deletions sync_tx_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ func _processSyncTransaction(ctx context.Context, syncTx *SyncTransaction, trans
transaction.BlockHash = txInfo.BlockHash
transaction.BlockHeight = uint64(txInfo.BlockHeight)
transaction.MerkleProof = MerkleProof(*txInfo.MerkleProof)
bump := transaction.MerkleProof.ToBUMP()
bump.BlockHeight = transaction.BlockHeight
transaction.BUMP = bump

// Create status message
message := "transaction was found on-chain by " + chainstate.ProviderBroadcastClient
Expand Down