File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ func (q *FeeQuote) Sign(wallet *ethwallet.Wallet, validFor time.Duration) error
3030 expiresAt := time .Now ().Add (validFor )
3131 q .ExpiresAt = & expiresAt
3232
33- message , err := q .message ()
33+ message , err := q .Message ()
3434 if err != nil {
3535 return err
3636 }
@@ -49,7 +49,7 @@ func (q *FeeQuote) VerifySignedBy(expectedAddresses ...common.Address) error {
4949 return fmt .Errorf ("quote expired" )
5050 }
5151
52- message , err := q .message ()
52+ message , err := q .Message ()
5353 if err != nil {
5454 return err
5555 }
@@ -68,7 +68,7 @@ func (q *FeeQuote) VerifySignedBy(expectedAddresses ...common.Address) error {
6868 return fmt .Errorf ("quote signed by unexpected address %s" , address .Hex ())
6969}
7070
71- func (q * FeeQuote ) message () ([]byte , error ) {
71+ func (q * FeeQuote ) Message () ([]byte , error ) {
7272 if q .ExpiresAt == nil {
7373 return nil , fmt .Errorf ("missing expiration date" )
7474 }
You can’t perform that action at this time.
0 commit comments