From 20186b64f8f68758b30dae8bc79a821f8d171283 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 18 Apr 2016 01:09:28 -0500 Subject: [PATCH] test --- crypto777/nanosrc/transports/utils/base64.h | 4 ++-- iguana/iguana_unspents.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto777/nanosrc/transports/utils/base64.h b/crypto777/nanosrc/transports/utils/base64.h index 8bc842a29..2224e9ecf 100755 --- a/crypto777/nanosrc/transports/utils/base64.h +++ b/crypto777/nanosrc/transports/utils/base64.h @@ -33,11 +33,11 @@ /* This function encodes an arbitrary byte array into base64 null-terminated string. */ -int nn_base64_encode (const uint8_t *in, size_t in_len, +int _nn_base64_encode (const uint8_t *in, size_t in_len, char *out, size_t out_len); /* This function decodes a base64 string into supplied buffer. */ -int nn_base64_decode (const char *in, size_t in_len, +int _nn_base64_decode (const char *in, size_t in_len, uint8_t *out, size_t out_len); #endif diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 5e29b5ac9..c3fcbd7c5 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -1845,7 +1845,7 @@ int32_t iguana_realtime_update(struct iguana_info *coin) coin->spendvectorsaved = 1; return(0); } - if ( coin->spendvectorsaved <= 1 ) + if ( coin->spendvectorsaved < time(NULL)+3 ) return(0); for (i=0; ibundlescount-1; i++) {