dedup the

This commit is contained in:
Michael Vines 2019-01-22 09:47:43 -08:00
parent dea20248c4
commit 122a5b2f69
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
3 changed files with 3 additions and 3 deletions

View File

@ -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];

View File

@ -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()
//

View File

@ -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