Skip to content

Commit

Permalink
fix FEE_TICK reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jdogresorg committed Apr 29, 2024
1 parent 226184f commit fc1e441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indexer/includes/actions/dividend.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ function btnsDividend($params=null, $data=null, $error=null){
// If this was a valid transaction, then add records to the credits and debits array
if($status=='valid'){

// Store the SOURCE, DIVIDEND_TICK, and FEE_TICK in addresses list
addAddressTicker($data->SOURCE, [$data->DIVIDEND_TICK, $data->FEE_TICK]);
// Store the SOURCE, DIVIDEND_TICK, and fee TICK in addresses list
addAddressTicker($data->SOURCE, [$data->DIVIDEND_TICK, $fees->TICK]);

// Debit DIVIDEND_TOTAL from SOURCE address
createDebit('DIVIDEND', $data->BLOCK_INDEX, $data->TX_HASH, $data->DIVIDEND_TICK, $data->DIVIDEND_TOTAL, $data->SOURCE);
Expand Down

0 comments on commit fc1e441

Please sign in to comment.