Skip to content

Commit

Permalink
rename to InclusionFeeCharged
Browse files Browse the repository at this point in the history
  • Loading branch information
chowbao committed Jan 21, 2025
1 parent c2a3616 commit 019a3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ingest/ledger_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func (t *LedgerTransaction) SorobanInclusionFeeCharged() (int64, bool) {
return initialFeeCharged - resourceFee, true
}

func (t *LedgerTransaction) InclusionFee() (int64, bool) {
func (t *LedgerTransaction) InclusionFeeCharged() (int64, bool) {
inclusionFee, ok := t.SorobanInclusionFeeCharged()
if ok {
return inclusionFee, ok
Expand Down
2 changes: 1 addition & 1 deletion ingest/ledger_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ func TestTransactionHelperFunctions(t *testing.T) {
assert.Equal(t, int64(-1234), sorobanInclusionFeeCharged)

var inclusionFee int64
inclusionFee, ok = transaction.InclusionFee()
inclusionFee, ok = transaction.InclusionFeeCharged()
assert.Equal(t, true, ok)
assert.Equal(t, int64(-1234), inclusionFee)

Expand Down

0 comments on commit 019a3fd

Please sign in to comment.