Skip to content

Commit

Permalink
Merge pull request #734 from onflow/petera/update-tx-expiration
Browse files Browse the repository at this point in the history
Use default tx expiration from flow-go
  • Loading branch information
peterargue authored Jan 27, 2025
2 parents 47aae3e + 9d68812 commit e250f39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/requester/key_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import (

flowsdk "github.com/onflow/flow-go-sdk"
"github.com/onflow/flow-go-sdk/crypto"
"github.com/onflow/flow-go/model/flow"
)

var ErrNoKeysAvailable = fmt.Errorf("no keys available")

const accountKeyBlockExpiration = 1_000
const accountKeyBlockExpiration = flow.DefaultTransactionExpiry

type AccountKey struct {
flowsdk.AccountKey
Expand Down

0 comments on commit e250f39

Please sign in to comment.