Merge branch 'master' into chore/merge-develop-to-next-2

This commit is contained in:
Jude Nelson
2022-10-27 12:16:44 -04:00
3 changed files with 5 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ This release will contain consensus-breaking changes.
### Changed
- The new minimum Rust version is 1.61
- The act of walking the mempool will now cache address nonces in RAM and to a
temporary mempool table used for the purpose, instead of unconditionally
querying them from the chainstate MARF. This builds upon improvements to mempool

View File

@@ -12,6 +12,7 @@ keywords = [ "stacks", "stx", "bitcoin", "crypto", "blockstack", "decentralized"
readme = "README.md"
resolver = "2"
edition = "2021"
rust-version = "1.61"
[profile.release]
debug = true

View File

@@ -153,7 +153,9 @@ impl TraitsResolver {
| DefineFunctions::PersistedVariable
| DefineFunctions::FungibleToken
| DefineFunctions::NonFungibleToken => {
self.probe_for_generics(args[1..].to_vec(), &mut referenced_traits, false)?;
if args.len() > 0 {
self.probe_for_generics(&args[1..], &mut referenced_traits, false)?;
}
}
};
}