Browse Source

We ain't got no stinking Orchard

pull/56/head
Duke 12 months ago
parent
commit
1b7a8cdeb2
  1. 3
      common/common.go

3
common/common.go

@ -363,8 +363,7 @@ func getBlockFromRPC(height int) (*walletrpc.CompactBlock, error) {
}
params[0] = heightJSON
// Fetch the block using the verbose option ("1") because it provides
// both the list of txids, which we're not yet able to compute for
// Orchard (V5) transactions, and the block hash (block ID), which
// both the list of txids and the block hash (block ID), which
// we need to fetch the raw data format of the same block. Don't fetch
// by height in case a reorg occurs between the two getblock calls;
// using block hash ensures that we're fetching the same block.

Loading…
Cancel
Save