Skip to content

Commit

Permalink
fix #2208
Browse files Browse the repository at this point in the history
  • Loading branch information
tkstanczak committed Aug 12, 2020
1 parent 2a1fb6d commit 1a21fe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public long BaseGasCost(IReleaseSpec releaseSpec)

public long DataGasCost(byte[] inputData, IReleaseSpec releaseSpec)
{
int k = inputData.Length / 192;
int k = inputData.Length / ItemSize;
return 12000L * k * Discount.For(k) / 1000;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public long BaseGasCost(IReleaseSpec releaseSpec)

public long DataGasCost(byte[] inputData, IReleaseSpec releaseSpec)
{
int k = inputData.Length / 288;
int k = inputData.Length / ItemSize;
return 55000L * k * Discount.For(k) / 1000;;
}

Expand Down

0 comments on commit 1a21fe8

Please sign in to comment.