diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-04-21 08:54:44 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-04-21 08:54:44 -0500 |
commit | 4540afc51b0ef567ffe00a231bf3b3b518a415c2 (patch) | |
tree | 1d698d683c8ed16c20383b88884ecac6e4efc928 /tests/functional_tests/make_test_signature.cc | |
parent | Merge pull request #6415 (diff) | |
parent | functional_tests: ensure signatures never reuse a timestamp (diff) | |
download | monero-4540afc51b0ef567ffe00a231bf3b3b518a415c2.tar.xz |
Merge pull request #6433
7326b69 functional_tests: ensure signatures never reuse a timestamp (moneromooo-monero)
082dd2c functional_tests: ensure signed timestamps are fresh (moneromooo-monero)
Diffstat (limited to 'tests/functional_tests/make_test_signature.cc')
-rw-r--r-- | tests/functional_tests/make_test_signature.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional_tests/make_test_signature.cc b/tests/functional_tests/make_test_signature.cc index 6ac1a6a86..f31816841 100644 --- a/tests/functional_tests/make_test_signature.cc +++ b/tests/functional_tests/make_test_signature.cc @@ -27,6 +27,7 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <stdio.h> +#include "misc_language.h" #include "string_tools.h" #include "rpc/rpc_payment_signature.h" @@ -69,6 +70,7 @@ int main(int argc, const char **argv) while (count--) { std::string signature = cryptonote::make_rpc_payment_signature(skey); + epee::misc_utils::sleep_no_w(1); printf("%s\n", signature.c_str()); } return 0; |