Skip to content

Commit 9d68812

Browse files
committed
Use default tx expiration from flow-go
1 parent 47aae3e commit 9d68812

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)