Here's the actual result when attempting manually:
curl --verbose -H "content-type: application/json" -X POST --data '"03d7b1a..."' http://127.0.0.1:18732/injection/operation
...
* upload completely sent off: 320 out of 320 bytes
< HTTP/1.1 500 Internal Server Error
< content-length: 106
< content-type: application/json
<
[{"kind":"temporary","id":"failure","msg":"Unknown branch (BKjyVHcJu9yE), cannot inject the operation."}]
When attempting to use client.InjectionOperation(), json.Unmarshal assumes result is string and decode fails
json: cannot unmarshal array into Go value of type string
Here's the actual result when attempting manually:
When attempting to use client.InjectionOperation(), json.Unmarshal assumes result is string and decode fails
go-tezos/rpc/independent.go
Line 77 in 430d106
json: cannot unmarshal array into Go value of type string