Version 0.9.9a

This commit is contained in:
The MMGen Project 2018-10-19 09:06:46 +00:00
commit 87a865b9e8
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,6 @@
### MMGen Version 0.9.9a Release Notes
Compatibility release for Bitcoin Core v0.17.0
Compatibility release for Bitcoin Core v0.17.0 (`0408c4e`)
- support new label API
- support new signrawtransactionwithkey RPC method

View file

@ -38,7 +38,7 @@ class g(object):
# Constants:
version = '0.9.9'
version = '0.9.9a'
release_date = 'October 2018'
proj_name = 'MMGen'

View file

@ -110,11 +110,11 @@ class CoinDaemonRPCConnection(object):
dmsg_rpc('=== request() debug ===')
dmsg_rpc(' RPC POST data ==> {}\n'.format(p))
parent = self
ca_type = self.coin_amt_type if hasattr(self,'coin_amt_type') else str
class MyJSONEncoder(json.JSONEncoder):
def default(self,obj):
if isinstance(obj,g.proto.coin_amt):
return parent.coin_amt_type(obj)
return ca_type(obj)
return json.JSONEncoder.default(self,obj)
http_hdr = { 'Content-Type': 'application/json' }