Skip to content

Commit

Permalink
Update TIMESTAMP BUFFER (#37)
Browse files Browse the repository at this point in the history
* Update oracle.cairo

* fix: spell check
  • Loading branch information
JordyRo1 authored Oct 4, 2023
1 parent 26ae800 commit 198f6b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/oracle/oracle.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ mod Oracle {
use cmp::{max, min};
use option::OptionTrait;
use debug::PrintTrait;
// const BACKWARD_TIMESTAMP_BUFFER: u64 = 7800; // 2 hours and 10 minutes
const BACKWARD_TIMESTAMP_BUFFER: u64 = 100;
const BACKWARD_TIMESTAMP_BUFFER: u64 = 7800; // 2 hours and 10 minutes

// Store Packing constants

Expand Down
2 changes: 1 addition & 1 deletion src/publisher_registry/publisher_registry.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ mod PublisherRegistry {
// @dev recursive function
// @param index : current input index, should be set to 0
// @param len : the total number of publishers
// @param publishers : a referennce to an array of publishers, to be filled
// @param publishers : a reference to an array of publishers, to be filled
fn _build_array(
self: @ContractState, index: usize, len: usize, ref publishers: Array<felt252>
) {
Expand Down

0 comments on commit 198f6b5

Please sign in to comment.