File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,15 @@ func (t *submitNetworkBalances) run(state *state.NetworkState) error {
159159 targetBlockNumber := targetBlockHeader .Number .Uint64 ()
160160
161161 if targetBlockNumber > state .ElBlockNumber || targetBlockNumber == lastSubmissionBlock {
162- // No submission needed: target block in the future
162+ if targetBlockNumber > state .ElBlockNumber {
163+ // No submission needed: Target block in the future
164+ t .log .Println ("not enough time has passed for the next price/balances submission" )
165+ return nil
166+ }
167+ if targetBlockNumber == lastSubmissionBlock {
168+ // No submission needed: Already submitted for this block
169+ t .log .Println ("balances have already been submitted for this block" )
170+ }
163171 return nil
164172 }
165173
You can’t perform that action at this time.
0 commit comments