diff --git a/common/common.go b/common/common.go index 8d3ee167..8940ab3a 100644 --- a/common/common.go +++ b/common/common.go @@ -339,8 +339,8 @@ func getBlockFromRPC(height int) (*walletrpc.CompactBlock, error) { t.SetTxID(parser.Reverse(txid)) } r := block.ToCompact() - r.SaplingCommitmentTreeSize = block1.Trees.Sapling.Size - r.OrchardCommitmentTreeSize = block1.Trees.Orchard.Size + r.ChainMetadata.SaplingCommitmentTreeSize = block1.Trees.Sapling.Size + r.ChainMetadata.OrchardCommitmentTreeSize = block1.Trees.Orchard.Size return r, nil } diff --git a/docs/rtd/index.html b/docs/rtd/index.html index 5e9dca23..791e96a3 100644 --- a/docs/rtd/index.html +++ b/docs/rtd/index.html @@ -178,6 +178,10 @@

Table of Contents

compact_formats.proto