From c1b0d4e993f573c0608cba9f1a34cf82cfa65cb6 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 30 Aug 2022 21:53:44 +0300 Subject: [PATCH] explain 'bad signature' message #10 --- src/twister.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/twister.cpp b/src/twister.cpp index bb2bed09..49c21e34 100644 --- a/src/twister.cpp +++ b/src/twister.cpp @@ -1593,7 +1593,7 @@ bool acceptSignedPost(char const *data, int data_size, std::string username, int std::string(postbuf.first,postbuf.second), username, sig, height); if( !ret ) { - sprintf(errbuf,"bad post signature"); + sprintf(errbuf,"bad post signature: keep your node running and try again later."); } else { lazy_entry const* rt = post->dict_find_dict("rt"); std::string sig_rt = post->dict_find_string_value("sig_rt"); @@ -1608,7 +1608,7 @@ bool acceptSignedPost(char const *data, int data_size, std::string username, int std::string(rtbuf.first,rtbuf.second), username_rt, sig_rt, height_rt); if( !ret ) { - sprintf(errbuf,"bad RT signature"); + sprintf(errbuf,"bad RT signature: keep your node running and try again later."); } } @@ -4476,5 +4476,3 @@ Value decodeshorturl(const Array& params, bool fHelp) } return peekpost(paramsSub,false); } - -