mirror of https://github.com/nucypher/nucypher.git
Heart monitor data source uses new method.
parent
990ae276d3
commit
f93f3f1987
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue