opentensor / btcli

Bittensor command line tool
https://docs.bittensor.com/btcli
13 stars 3 forks source link

fix: initalise sucess var before its used #212

Closed distributedstatemachine closed 1 day ago

distributedstatemachine commented 2 days ago

POW registrations fail because we dont initialise success before we use it.

                            │ │
│ │                wallet = name: 'default', hotkey: 'foo', path: '~//home/ubuntu/.bittensor/wallets/'    │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
UnboundLocalError: local variable 'success' referenced before assignment
thewhaleking commented 1 day ago

This is already fixed in staging https://github.com/opentensor/btcli/pull/189