Skip to content

Commit 6b81480

Browse files
committed
universerpc: add string outpoint to SupplyCommitChainData
Includes the supply commit outpoint as a string in the proto message SupplyCommitChainData. Helps clients that cannot deserialize transactions to compute the txid.
1 parent e85e942 commit 6b81480

File tree

4 files changed

+213
-193
lines changed

4 files changed

+213
-193
lines changed

supplysync_rpc.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ func marshalSupplyCommitChainData(
303303
BlockHeight: chainProof.BlockHeight,
304304
TxBlockMerkleProof: merkleProofBuf.Bytes(),
305305
TxIndex: chainProof.TxIndex,
306+
CommitOutpoint: rootCommitment.CommitPoint().String(),
306307
}
307308

308309
// Handle optional commitment block hash.

0 commit comments

Comments
 (0)