mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-30 03:49:31 +00:00
ci and comments
This commit is contained in:
parent
6fbe5e42c7
commit
780396f040
Binary file not shown.
@ -14,7 +14,6 @@ pub struct WitnessSet {
|
|||||||
impl WitnessSet {
|
impl WitnessSet {
|
||||||
#[must_use]
|
#[must_use]
|
||||||
// TODO: swap for Keycard signing path.
|
// TODO: swap for Keycard signing path.
|
||||||
// However. we may need to get signatures from Keycard.
|
|
||||||
pub fn for_message(message: &Message, proof: Proof, private_keys: &[&PrivateKey]) -> Self {
|
pub fn for_message(message: &Message, proof: Proof, private_keys: &[&PrivateKey]) -> Self {
|
||||||
let message_hash = message.hash_message();
|
let message_hash = message.hash_message();
|
||||||
let signatures_and_public_keys = private_keys
|
let signatures_and_public_keys = private_keys
|
||||||
|
|||||||
@ -72,7 +72,7 @@ impl WalletChainStore {
|
|||||||
public_tree.insert(
|
public_tree.insert(
|
||||||
data.account_id,
|
data.account_id,
|
||||||
data.chain_index,
|
data.chain_index,
|
||||||
data.data.expect("Expect valid public account keys"),
|
data.data.expect("`chain_storage::WalletChainStore::new()`: failed to produce a Key Tree for a PersistentAccountData."),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
PersistentAccountData::Private(data) => {
|
PersistentAccountData::Private(data) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user