Unity3dSimpleSample icon indicating copy to clipboard operation
Unity3dSimpleSample copied to clipboard

Syntax error in EtherTransfer.cs

Open Skyway666 opened this issue 4 years ago • 0 comments

There is a tiny mistake in this file, line 32:

    var ethTransfer = new EthTransferUnityRequest(url, privateKey)

It looks like this, giving the following compilation error:

Gravedad	Código	Descripción	Proyecto	Archivo	Línea	Estado suprimido
Error	CS7036	No se ha dado ningún argumento que corresponda al parámetro formal requerido 'account' de 'EthTransferUnityRequest.EthTransferUnityRequest(string, string, string)'	Assembly-CSharp	C:\Users\Gaming\Downloads\Unity3dSimpleSample-master\Assets\EtherTransfer.cs	32	Activo

Basically meaning that the EthTransferUnityRequest accepts 3 parameters, not 2.

This error is not present in the tutorial of the sample, I guess it is just an oversight.

Skyway666 avatar Jul 10 '20 18:07 Skyway666