I am using this Ethereum Go Client and trying to pass a string / bytes32 to Solidity.
The function in the smart contract is very simple (for testing now):
function vote(bytes32 id) {
//id has the value 0x0000000000000000000000000000000000000000000000000000000000000000
}
calling
hash, err := contract.Send(transaction, "vote", "myString")
will result in 0x0000000000000000000000000000000000000000000000000000000000000000
for the bytes32 param id...
How would I have to pass in the parameter to my Smart Contract from Go so that solidity will have the correct value?