set fee version

This commit is contained in:
Jack Robison 2017-06-02 11:50:36 -04:00
parent c3f61b3e69
commit 5b297f165f

View file

@ -1937,6 +1937,8 @@ class Daemon(AuthJSONRPCServer):
elif 'address' not in metadata['fee']: elif 'address' not in metadata['fee']:
address = yield self.session.wallet.get_unused_address() address = yield self.session.wallet.get_unused_address()
metadata['fee']['address'] = address metadata['fee']['address'] = address
if 'fee' in metadata and 'version' not in metadata['fee']:
metadata['fee']['version'] = '_0_0_1'
claim_dict = { claim_dict = {
'version': '_0_0_1', 'version': '_0_0_1',