diff --git a/mmgen/main_txsend.py b/mmgen/main_txsend.py index d31d8b31..f8f805f7 100755 --- a/mmgen/main_txsend.py +++ b/mmgen/main_txsend.py @@ -68,6 +68,6 @@ confirm_or_exit(warn,action,expect) msg('Sending transaction') -tx.send(c,bogus=True) +tx.send(c,bogus=False) tx.write_txid_to_file() diff --git a/mmgen/rpc.py b/mmgen/rpc.py index c7b12743..8fadfb34 100755 --- a/mmgen/rpc.py +++ b/mmgen/rpc.py @@ -146,6 +146,7 @@ class BitcoinRPCConnection(object): 'listunspent', 'sendrawtransaction', 'signrawtransaction', + 'getrawmempool', ) for name in rpcmethods: diff --git a/mmgen/util.py b/mmgen/util.py index 92659993..013e16ae 100755 --- a/mmgen/util.py +++ b/mmgen/util.py @@ -215,6 +215,9 @@ def make_timestr(secs=None): def secs_to_hms(secs): return '{:02d}:{:02d}:{:02d}'.format(secs/3600, (secs/60) % 60, secs % 60) +def secs_to_ms(secs): + return '{:02d}:{:02d}'.format(secs/60, secs % 60) + def _is_whatstring(s,chars): return set(list(s)) <= set(chars)