From f71727f1c38ab42b7c28b50aa491b3243e04cbfd Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Sat, 14 May 2016 14:21:46 +0200 Subject: BIP0009 code syntax fix --- bip-0009.mediawiki | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bip-0009.mediawiki') diff --git a/bip-0009.mediawiki b/bip-0009.mediawiki index 509a8a9..e9b61ee 100644 --- a/bip-0009.mediawiki +++ b/bip-0009.mediawiki @@ -112,7 +112,7 @@ other one simultaneously transitions to STARTED, which would mean both would dem Note that a block's state never depends on its own nVersion; only on that of its ancestors. - case STARTED: { + case STARTED: if (GetMedianTimePast(block.parent) >= timeout) { return FAILED; } @@ -127,7 +127,6 @@ Note that a block's state never depends on its own nVersion; only on that of its if (count >= threshold) { return LOCKED_IN; } - } After a retarget period of LOCKED_IN, we automatically transition to ACTIVE. -- cgit v1.2.3