OSDN Git Service

edit ttl for prevent double spend (#1589)
authorPaladz <yzhu101@uottawa.ca>
Wed, 27 Feb 2019 02:10:02 +0000 (10:10 +0800)
committerGitHub <noreply@github.com>
Wed, 27 Feb 2019 02:10:02 +0000 (10:10 +0800)
api/transact.go

index 3dcad4c..a503e39 100644 (file)
@@ -21,7 +21,7 @@ import (
 )
 
 var (
-       defaultTxTTL    = 5 * time.Minute
+       defaultTxTTL    = 30 * time.Minute
        defaultBaseRate = float64(100000)
        flexibleGas     = int64(1800)
 )