Skip to content

Commit

Permalink
Merge pull request #15 from ttwishing/master
Browse files Browse the repository at this point in the history
fixed  REXState#net_price_per_kb method calling itself
  • Loading branch information
aaroncox authored Oct 15, 2024
2 parents 1d4dd1a + 24520c9 commit 8d1d941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class REXState extends Struct {
}

net_price_per_kb(sample: SampleUsage, kilobytes = 1): number {
return this.net_price_per_kb(sample, kilobytes * 1000)
return this.net_price_per_byte(sample, kilobytes * 1000)
}

net_price_per_byte(sample: SampleUsage, bytes = 1000): number {
Expand Down

0 comments on commit 8d1d941

Please sign in to comment.