Commit dff88e54 authored by Luke Champine's avatar Luke Champine

fix EAPaymentRevision usages

parent 63c5a046
Pipeline #153060480 passed with stages
in 36 minutes and 37 seconds
......@@ -626,7 +626,7 @@ func (p *renterHostPair) managedPaymentRevision(amount types.Currency) (types.Fi
return types.FileContractRevision{}, crypto.Signature{}, err
}
rev, err := recent.PaymentRevision(amount)
rev, err := recent.EAPaymentRevision(amount)
if err != nil {
return types.FileContractRevision{}, crypto.Signature{}, err
}
......
This diff is collapsed.
......@@ -223,7 +223,7 @@ func (c *Contractor) ProvidePayment(stream siamux.Stream, host types.SiaPublicKe
// create a new revision
current := sc.LastRevision()
rev, err := current.PaymentRevision(amount)
rev, err := current.EAPaymentRevision(amount)
if err != nil {
return errors.AddContext(err, "Failed to create a payment revision")
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment