Genesis configuration fix
@@ -34,9 +34,9 @@ services:
if [ ! -f /etc/sawtooth/keys/validator2.priv ]; then
sawadm keygen --force &&
sawtooth keygen my_key --force &&
- sawset genesis -k /root/.sawtooth/keys/my_key.priv &&
source /genesis/token-proposal.sh &&
- sawadm genesis config-genesis.batch /genesis/token-proposal.batch
+ sawadm genesis config-genesis.batch /genesis/token-proposal.batch &&
+ sawset genesis -k /root/.sawtooth/keys/my_key.priv
fi;
sawtooth-validator -vv \
--endpoint tcp://validator:8800 \
