mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
functional_tests: ensure signatures never reuse a timestamp
This commit is contained in:
parent
082dd2c373
commit
7326b691d3
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include "misc_language.h"
|
||||||
#include "string_tools.h"
|
#include "string_tools.h"
|
||||||
#include "rpc/rpc_payment_signature.h"
|
#include "rpc/rpc_payment_signature.h"
|
||||||
|
|
||||||
|
@ -69,6 +70,7 @@ int main(int argc, const char **argv)
|
||||||
while (count--)
|
while (count--)
|
||||||
{
|
{
|
||||||
std::string signature = cryptonote::make_rpc_payment_signature(skey);
|
std::string signature = cryptonote::make_rpc_payment_signature(skey);
|
||||||
|
epee::misc_utils::sleep_no_w(1);
|
||||||
printf("%s\n", signature.c_str());
|
printf("%s\n", signature.c_str());
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue