dedup the
This commit is contained in:
parent
dea20248c4
commit
122a5b2f69
|
@ -830,7 +830,7 @@ impl Bank {
|
|||
|
||||
// 2) Transfer tokens to the bootstrap leader. The first two
|
||||
// account keys will both be the mint (because the mint is the source
|
||||
// for this transaction and the first move instruction is to the the
|
||||
// for this transaction and the first move instruction is to the
|
||||
// mint itself), so we look at the third account key to find the first
|
||||
// leader id.
|
||||
let bootstrap_leader_id = tx.account_keys[2];
|
||||
|
|
|
@ -622,7 +622,7 @@ mod tests {
|
|||
//
|
||||
// TODO: this magic number and the mix of transaction types
|
||||
// is designed to fill up a Blob more or less exactly,
|
||||
// to get near enough the the threshold that
|
||||
// to get near enough the threshold that
|
||||
// deserialization falls over if it uses the wrong size()
|
||||
// parameter to index into blob.data()
|
||||
//
|
||||
|
|
|
@ -102,7 +102,7 @@ impl Replicator {
|
|||
/// Returns a Result that contains a replicator on success
|
||||
///
|
||||
/// # Arguments
|
||||
/// * `ledger_path` - (Not actually optional) path to where the the ledger will be stored.
|
||||
/// * `ledger_path` - (Not actually optional) path to where the ledger will be stored.
|
||||
/// Causes panic if none
|
||||
/// * `node` - The replicator node
|
||||
/// * `leader_info` - NodeInfo representing the leader
|
||||
|
|
Loading…
Reference in New Issue