Skip to content

Commit 6b5f196

Browse files
committed
chore: minor fix
1 parent c00fa4b commit 6b5f196

File tree

1 file changed

+8
-8
lines changed
  • magicblock-chainlink/src/remote_account_provider

1 file changed

+8
-8
lines changed

magicblock-chainlink/src/remote_account_provider/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,14 @@ fn account_slots(accs: &[RemoteAccount]) -> Vec<u64> {
969969
accs.iter().map(|acc| acc.slot()).collect()
970970
}
971971

972+
fn pubkeys_str(pubkeys: &[Pubkey]) -> String {
973+
pubkeys
974+
.iter()
975+
.map(|pk| pk.to_string())
976+
.collect::<Vec<_>>()
977+
.join(", ")
978+
}
979+
972980
#[cfg(test)]
973981
mod test {
974982
use solana_system_interface::program as system_program;
@@ -1435,11 +1443,3 @@ mod test {
14351443
}
14361444
}
14371445
}
1438-
1439-
fn pubkeys_str(pubkeys: &[Pubkey]) -> String {
1440-
pubkeys
1441-
.iter()
1442-
.map(|pk| pk.to_string())
1443-
.collect::<Vec<_>>()
1444-
.join(", ")
1445-
}

0 commit comments

Comments
 (0)