Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
20186b64f8
  1. 4
      crypto777/nanosrc/transports/utils/base64.h
  2. 2
      iguana/iguana_unspents.c

4
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

2
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; i<coin->bundlescount-1; i++)
{

Loading…
Cancel
Save