Skip to content

Commit

Permalink
Use default tx expiration from flow-go
Browse files Browse the repository at this point in the history
  • Loading branch information
peterargue committed Jan 27, 2025
1 parent 47aae3e commit 9d68812
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 9d68812

Please sign in to comment.