Browse Source

Version 0.9.9a

MMGen 6 years ago
parent
commit
87a865b9e8
3 changed files with 5 additions and 4 deletions
  1. 2 1
      doc/release-notes/release-notes-v0.9.9a.md
  2. 1 1
      mmgen/globalvars.py
  3. 2 2
      mmgen/rpc.py

+ 2 - 1
doc/release-notes/release-notes-v0.9.9a.md

@@ -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

+ 1 - 1
mmgen/globalvars.py

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

+ 2 - 2
mmgen/rpc.py

@@ -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' }