Don't warn about no nodes to relay to when -testnode=1
This commit is contained in:
@@ -2506,7 +2506,9 @@ void RelayTransaction(const CTransaction& tx, const CDataStream& ss)
|
|||||||
|
|
||||||
// If we have no nodes to relay to, there is nothing to do
|
// If we have no nodes to relay to, there is nothing to do
|
||||||
if(vNodes.size() == 0) {
|
if(vNodes.size() == 0) {
|
||||||
fprintf(stderr, "%s: No nodes to relay to!\n", __func__ );
|
if (HUSH_TESTNODE==0) {
|
||||||
|
fprintf(stderr, "%s: No nodes to relay to!\n", __func__ );
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user