Skip to content

Commit e250f39

Browse files
authored
Merge pull request #734 from onflow/petera/update-tx-expiration
Use default tx expiration from flow-go
2 parents 47aae3e + 9d68812 commit e250f39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/requester/key_store.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import (
66

77
flowsdk "github.com/onflow/flow-go-sdk"
88
"github.com/onflow/flow-go-sdk/crypto"
9+
"github.com/onflow/flow-go/model/flow"
910
)
1011

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

13-
const accountKeyBlockExpiration = 1_000
14+
const accountKeyBlockExpiration = flow.DefaultTransactionExpiry
1415

1516
type AccountKey struct {
1617
flowsdk.AccountKey

0 commit comments

Comments
 (0)