Skip to content

Commit

Permalink
Merge pull request #42 from SiaFoundation/pj/ea-settings
Browse files Browse the repository at this point in the history
EA settings
  • Loading branch information
n8maninger committed May 2, 2023
2 parents 0737f41 + dbf1bbe commit 32e397f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rhp/v2/rhp.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ func (sh *SessionHandler) Settings() (rhpv2.HostSettings, error) {
DownloadBandwidthPrice: settings.MinEgressPrice,
UploadBandwidthPrice: settings.MinIngressPrice,

// ea settings
MaxEphemeralAccountBalance: settings.MaxAccountBalance,
EphemeralAccountExpiry: settings.AccountExpiry,

RevisionNumber: settings.Revision,
}, nil
}
Expand Down

0 comments on commit 32e397f

Please sign in to comment.