Version 0.9.9a
This commit is contained in:
parent
0408c4e304
commit
87a865b9e8
3 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class g(object):
|
|||
|
||||
# Constants:
|
||||
|
||||
version = '0.9.9'
|
||||
version = '0.9.9a'
|
||||
release_date = 'October 2018'
|
||||
|
||||
proj_name = 'MMGen'
|
||||
|
|
|
|||
|
|
@ -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' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue