function finalizeBlock()
             afterInitialization {
        require(needsBlockFinalization());

        
        
        
        
        
        
        
        
        int blockHeight = BTCRelay(btcRelay).getLastBlockHeight();
        lotteries[id].decidingBlock = blockHeight + 54;
    }