bitcoin conf fix, base64 decoding

This commit is contained in:
kexkey
2019-08-09 12:38:35 -04:00
committed by kexkey
parent 9cf96097c4
commit 8fc7d0f708
3 changed files with 3 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ verify() {
# Let's create the OTS file locally from the base64
trace "[verify] Creating /otsfiles/otsfile-$$.ots"
echo "${base64otsfile}" > /otsfiles/otsfile-$$.ots
echo "${base64otsfile}" | base64 -d > /otsfiles/otsfile-$$.ots
trace "[verify] ots-cli.js verify -d ${hash} /otsfiles/otsfile-$$.ots"
result=$(ots-cli.js verify -d ${hash} /otsfiles/otsfile-$$.ots 2>&1)
returncode=$?