Commit 7bc9cd7e authored by Adrian Sutton's avatar Adrian Sutton

op-program: Fix fpp-verify by actually setting the datadir

parent 4dc4d535
...@@ -98,7 +98,7 @@ func Run(l1RpcUrl string, l1RpcKind string, l2RpcUrl string, l2OracleAddr common ...@@ -98,7 +98,7 @@ func Run(l1RpcUrl string, l1RpcKind string, l2RpcUrl string, l2OracleAddr common
l1Head := l1HeadBlock.Hash() l1Head := l1HeadBlock.Hash()
if dataDir == "" { if dataDir == "" {
dataDir, err := os.MkdirTemp("", "oracledata") dataDir, err = os.MkdirTemp("", "oracledata")
if err != nil { if err != nil {
return fmt.Errorf("create temp dir: %w", err) return fmt.Errorf("create temp dir: %w", err)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment