parameterize helper method with constant

This commit is contained in:
Francisco Gindre 2020-03-19 12:59:19 -03:00
parent 8d6a37472e
commit 18eea3261c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ extension CompactBlockRange {
extension BlockID {
static let saplingActivationHeight: UInt64 = 280_000
static let saplingActivationHeight: UInt64 = UInt64(ZcashSDK.SAPLING_ACTIVATION_HEIGHT)
init(height: UInt64) {
self = BlockID()