feat: add flexible nonce parameter support
- Add nonce_account and current_nonce to trade parameters - Remove hardcoded NonceCache dependency from nonce_manager - Update examples and documentation for new nonce usage - Fix nonce documentation errors and improve clarity
This commit is contained in:
@@ -85,15 +85,6 @@ impl AddressLookupTableCache {
|
||||
key: *lookup_table_address,
|
||||
addresses: Vec::new(),
|
||||
});
|
||||
|
||||
if result.addresses.len() == 0 {
|
||||
eprintln!(" ❌ Address lookup table account {} not setup", lookup_table_address);
|
||||
eprintln!(" ❌ Please update the address table account information using 【AddressLookupTableCache】 first");
|
||||
eprintln!(
|
||||
" ❌ The current transaction will not include this address lookup table account"
|
||||
);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user