Returns number of topcis to take fr.. (#8199)

This commit is contained in:
James Ray 2018-03-23 19:16:20 +11:00 committed by Marek Kotewicz
parent 1c2c683ae3
commit ca0045482c

View File

@ -81,7 +81,7 @@ fn test_get_swap_position() {
assert_eq!(get_swap_position(SWAP10), 10);
}
/// Returns number of topcis to take from stack
/// Returns number of topics to take from stack
/// LOG0 -> 0
pub fn get_log_topics (i: Instruction) -> usize {
assert!(i >= LOG0 && i <= LOG4);