diff --git a/iguana/iguana_payments.c b/iguana/iguana_payments.c index 5a3a8b70b..fe8e1d19b 100755 --- a/iguana/iguana_payments.c +++ b/iguana/iguana_payments.c @@ -525,7 +525,7 @@ char *sendtoaddress(struct supernet_info *myinfo,struct iguana_info *coin,char * { uint8_t addrtype,spendscript[1024],rmd160[20]; int32_t completed; char *retstr,spendscriptstr[4096],*rawtx=0,*signedtx = 0; bits256 signedtxid,senttxid; cJSON *retjson,*vins,*addresses,*valsobj; uint32_t spendlen,locktime = 0; uint32_t basilisktag; struct vin_info *V = 0; //sendtoaddress [comment] [comment-to] is a real and is rounded to 8 decimal places. Returns the transaction ID if successful. Y - if ( coin->RTheight == 0 ) + if ( coin->RTheight == 0 && coin->FULLNODE != 0 ) return(clonestr("{\"error\":\"need to get to realtime blocks to send transaction\"}")); if ( account == 0 || account[0] == 0 ) account = "*";