From 050a4b1042178db564f1e166eb802d9d275dc020 Mon Sep 17 00:00:00 2001 From: vitalibalashka Date: Thu, 26 Oct 2023 15:04:13 +0200 Subject: [PATCH] feat: revert BUMP calculation to sync task --- sync_tx_service.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sync_tx_service.go b/sync_tx_service.go index 815c428d..ce2a1786 100644 --- a/sync_tx_service.go +++ b/sync_tx_service.go @@ -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