Commit 13274bd6 authored by Janis Streib's avatar Janis Streib 🦉

FIX: user correct variable for iteration on last block calulation (fixes #255)

parent 2e0f4cca
Pipeline #130210 passed with stages
in 4 minutes and 47 seconds
......@@ -796,7 +796,7 @@ export default {
const containing_blocks = []
let last_chg_ip = cur + 1
let last_was_reserved = ipaddress.int_to_ip(last_chg_ip) in this.reserved_addrs_by_ip
for (var k = 1; i < hard_maximum - cur; i++) {
for (var k = 1; k < hard_maximum - cur; k++) {
if (ipaddress.int_to_ip(cur + k) in this.reserved_addrs_by_ip) {
if (!last_was_reserved) {
containing_blocks.push({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment