From 28a34e20d81b7948d88e190517198174822726a4 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 2 Jun 2024 04:33:41 +0300 Subject: Outputs the actual previous block, regardless of being the genesis one --- bin/ak-enter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ak-enter b/bin/ak-enter index 7dd7ad7..7b72813 100755 --- a/bin/ak-enter +++ b/bin/ak-enter @@ -271,7 +271,7 @@ do if [ -v $previous ] then logit "WARNING" "Block $block has no previous zblock, appending pseudo genesis to exit with 2." - echo -n '"previous":"genesis"},{"genesis":"genesis"}]' + echo -n '"previous":"'$seed'"},{"genesis":"genesis"}]' logit "INFO" "Reached pseudo-genesis, counted $counter zblocks." exit 2 -- cgit v1.2.3