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

Commit

Permalink
feat: revert BUMP calculation to sync task
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalibalashka authored and witalij-4chain committed Oct 26, 2023
1 parent 6798aa2 commit 050a4b1
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 050a4b1

Please sign in to comment.