Heart monitor data source uses new method.

pull/632/head
jMyles 2019-01-10 14:27:21 -05:00
parent 990ae276d3
commit f93f3f1987
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def generate_heart_rate_samples(policy_pubkey,
} }
plaintext = msgpack.dumps(heart_rate_data, use_bin_type=True) plaintext = msgpack.dumps(heart_rate_data, use_bin_type=True)
message_kit, _signature = data_source.encapsulate_single_message(plaintext) message_kit, _signature = data_source.encrypt_message(plaintext)
kit_bytes = message_kit.to_bytes() kit_bytes = message_kit.to_bytes()
kits.append(kit_bytes) kits.append(kit_bytes)