Skip to content

Commit 9f8bf93

Browse files
committed
docs: more explanations in payment header fields
1 parent c4f63c5 commit 9f8bf93

File tree

7 files changed

+174
-37
lines changed

7 files changed

+174
-37
lines changed

api/clients/v2/accountant.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ func (a *Accountant) AccountBlob(ctx context.Context, numSymbols uint32, quorums
120120
pm := &core.PaymentMetadata{
121121
AccountID: a.accountID,
122122
ReservationPeriod: reservationPeriod,
123-
CumulativePayment: cumulativePayment,
123+
CumulativePayment: new(big.Int).Neg(cumulativePayment),
124+
// CumulativePayment: cumulativePayment,
124125
}
125126

126127
return pm, nil

api/docs/common_v2.html

Lines changed: 39 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/docs/common_v2.md

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/docs/eigenda-protos.html

Lines changed: 39 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)