set timeout to 30s for synchronous operations
This commit is contained in:
@@ -231,7 +231,7 @@ class Commands:
|
||||
return tx.deserialize()
|
||||
|
||||
@command('n')
|
||||
def broadcast(self, tx, timeout=10):
|
||||
def broadcast(self, tx, timeout=30):
|
||||
"""Broadcast a transaction to the network. """
|
||||
return self.network.broadcast(tx, timeout)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user