tellor-io / telliot-feeds

Telliot feeds
https://tellor-io.github.io/telliot-feeds
Other
24 stars 9 forks source link

Small Staking Commands fix #719

Closed 0xSpuddy closed 9 months ago

0xSpuddy commented 10 months ago

Summary

Using the following commands gave an error that the --unsafe flag was unexpected:

telliot stake
telliot request-withdraw
telliot withdraw

Added the unsafe flag to the function definitions for each command. Result is that the commands work as expected, however adding --unsafe -pwd PASSWORD does not bypass confirmations for these staking commands.

In my opinion the --unsafe flag is really only needed for the report command, so this is an acceptable solution! Let me know what you think if different 🤙