Skip to content

Commit

Permalink
feat(): bundle server fee modify
Browse files Browse the repository at this point in the history
  • Loading branch information
zyjblockchain committed Feb 7, 2023
1 parent 0919ef5 commit 1b2f6b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ func (s *Arseeding) GetBundlePerFees() (map[string]schema.Fee, error) {
return nil, err
}
arFee := s.cache.GetFee()
arFee.Base = arFee.Base + s.config.GetServeFee()
arFee.Base = arFee.Base + s.config.GetServeFee() // add base arseeding service fee
arFee.PerChunk = arFee.PerChunk + s.config.GetServeFee() // add base arseeding service fee
res := make(map[string]schema.Fee)
for _, tp := range tps {
if tp.Price <= 0.0 {
Expand Down

0 comments on commit 1b2f6b8

Please sign in to comment.