Skip to content

Commit

Permalink
Update YAML creation and Delegation Certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
oldcryptogeek committed Nov 13, 2019
1 parent b15d788 commit 110c4b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions casper/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def create_pool(self, pk, sk, account, pool_name):
command = f"""
cat > {pool_name}.yaml << EOF
genesis:
sig_key: {_pool_kes_pk}
sig_key: {_pool_kes_sk}
vrf_key: {_pool_vrf_sk}
node_id: {node_id}
EOF
Expand All @@ -253,7 +253,7 @@ def create_delegation_certificate(self, pool_id, pk, sk, account):
with open('key.tmp', 'w') as c:
c.write(sk)

os.system(f'jcli certificate new stake-delegation {pk} {pool_id} stake_pool.cert')
os.system(f'jcli certificate new stake-delegation {pk} {pool_id} -o stake_pool.cert')
# os.system(f'jcli certificate sign key.tmp stake_pool.cert stake_pool.signcert')
os.remove('key.tmp')

Expand Down

0 comments on commit 110c4b3

Please sign in to comment.