aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-schain-latest-cached
blob: 031e997aa408e15b059cdf7c3558fdb0b8256c02 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

PROGRAM="$(basename $0)"
source $AK_LIBDIR/_ak_logit
if [ ! -f $AK_WORKDIR/schain.latest ]
then
    ak-find-latest-mined-sblock > $AK_WORKDIR/schain.latest
fi
cat $AK_WORKDIR/schain.latest