remove emj
This commit is contained in:
@@ -23,19 +23,19 @@ func main() {
|
||||
|
||||
err := proof.SignProof(&observation)
|
||||
if err != nil {
|
||||
fmt.Println("❌ Failed to sign proof:", err)
|
||||
fmt.Println("Failed to sign proof:", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
proof.SaveProof(observation, *output)
|
||||
fmt.Println("✅ Signed proof saved to", *output)
|
||||
fmt.Println("Signed proof saved to", *output)
|
||||
|
||||
if *useIPFS {
|
||||
cid, err := proof.UploadToIPFS(*output)
|
||||
if err != nil {
|
||||
fmt.Println("❌ Failed to upload to IPFS:", err)
|
||||
fmt.Println("Failed to upload to IPFS:", err)
|
||||
} else {
|
||||
fmt.Println("📡 Uploaded to IPFS with CID:", cid)
|
||||
fmt.Println("Uploaded to IPFS with CID:", cid)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user