Skip to content

Commit 6c3bc6f

Browse files
authored
Merge pull request #6851 from multiversx/fix_pubkeysbitmap_on_api_block
get bitmap and signature from proof for api block
2 parents eefc1a4 + 9ac8523 commit 6c3bc6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

node/external/blockAPI/baseBlock.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,9 @@ func (bap *baseAPIBlockProcessor) addProofs(
624624
return errCannotFindBlockProof
625625
}
626626

627+
apiBlock.PubKeyBitmap = hex.EncodeToString(headerProof.GetPubKeysBitmap())
628+
apiBlock.Signature = hex.EncodeToString(headerProof.GetAggregatedSignature())
629+
627630
apiBlock.Proof = proofToAPIProof(headerProof)
628631

629632
return nil

0 commit comments

Comments
 (0)