I'm running a private tangle network (GoShimmer 1.7.2) using Docker https://goshimmer.docs.iota.org/tooling/docker_private_network.html
I want to try a double spend. there is a script to do that in the tools: https://github.com/iotaledger/goshimmer/tree/develop/tools/double-spend
It requests successfully funds from the faucet, but after that an error accrue in those lines:
// issue the tx
resp, err2 := clients[i].PostTransaction(tx.Bytes())
if err2 != nil {
fmt.Println("ERROR ISSUE TRANSACTION"); // err2
fmt.Println(err);
return
}
fmt.Println(resp.TransactionID);
Expected:
fmt.Println(resp.TransactionID)
fmt.Printf("issued conflict transaction %s\n", conflictingMsgIDs[i])