mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
fix: merge update
This commit is contained in:
parent
055c5388e0
commit
64e2fb73a8
@ -1583,7 +1583,7 @@ pub fn prepare_function_map() -> HashMap<String, TestFunction> {
|
||||
|
||||
#[nssa_integration_test]
|
||||
pub async fn test_pinata_private_receiver_new_account() {
|
||||
info!("########## test_pinata_private_receiver ##########");
|
||||
info!("########## test_pinata_private_receiver_new_account ##########");
|
||||
let pinata_account_id = PINATA_BASE58;
|
||||
let pinata_prize = 150;
|
||||
let solution = 989106;
|
||||
|
||||
@ -42,10 +42,13 @@ impl FromStr for ChainIndex {
|
||||
impl Display for ChainIndex {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
write!(f, "/")?;
|
||||
for cci in &self.0[..(self.0.len() - 1)] {
|
||||
for cci in &self.0[..(self.0.len().saturating_sub(1))] {
|
||||
write!(f, "{cci}/")?;
|
||||
}
|
||||
write!(f, "{}", self.0.last().unwrap())
|
||||
if let Some(last) = self.0.last() {
|
||||
write!(f, "{}", last)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -136,7 +136,6 @@ impl WalletChainStore {
|
||||
.and_modify(|data| data.1 = account.clone());
|
||||
|
||||
if matches!(entry, Entry::Vacant(_)) {
|
||||
} else {
|
||||
self.user_data
|
||||
.private_key_tree
|
||||
.account_id_map
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user