miguelfreitas / twister-core

twister core / daemon
MIT License
1.42k stars 251 forks source link

username requirements only enforced by sendnewusertransaction #441

Open gabrielhesposito opened 3 years ago

gabrielhesposito commented 3 years ago

username requirements (length/char types) are enforced only by sendnewusertransaction

example;

root@7f2b0ae4bd23:/twister-core# ./twisterd  createwalletuser thisusernameislongerthan16chars
L5b4XvNr1SMkxkAoRtPuUEFo4nbkz2ZAiU62CVMHLMRGsKoZK8Rz
root@7f2b0ae4bd23:/twister-core# ./twisterd  sendnewusertransaction  thisusernameislongerthan16chars
error: {"code":-22,"message":"TX rejected"}