Skip to content

"wrong unlocker in transaction"

Using a script to create multiple little sources (I verify a bug concerning intermediary tx), I get a bug on 0.7.2 and not on 0.6.5.

The script is very simple :

c=0
max=100
while [ "$c" -le "$max" ]; do
    silkaj -p ts.gt.librelois.fr:443  --auth-file tx -y --output 8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt --amount "1"
    sleep 10
    c=$(($c+1))
done

With 0.6.5, no problemo :

bash envoi-petites-sources.sh 
Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt
   - Amount:  1.0
Transaction successfully sent.
Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt
   - Amount:  1.0
Transaction successfully sent.

(and so on...)

But on v 0.7.2 :

bash envoi-petites-sources.sh 
Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt 
   - Amount:  1.0
Transaction successfully sent.
Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt 
   - Amount:  1.0
Error while publishing transaction: {
  "ucode": 2013,
  "message": "Wrong unlocker in transaction"
}

(And I get those errors forever)

I might also get, for "random" amounts with a slightly different script :

Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt 
   - Amount:  1.1
Error while publishing transaction: {
  "ucode": 1005,
  "message": "Document has unkown fields or wrong line ending format"
}

It seems to be a problem with DuniterPy.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information