These are chat archives for Nethereum/Nethereum

6th
Aug 2016
slothbag
@slothbag
Aug 06 2016 04:00
I'm calling a simple solidity function that returns an address, Nethereum is giving me a string variable containing the hex formatted address.. However if the address has leading zeros i.e 0x012345 then Nethereum returns 0x12345. This shortened address doesn't work for subsequent calls.. So I have to check the length of the address and put the zeros back in..
Would it make sense for Nethereum to make sure the addresses are always 40 bytes?
Brendan
@brendan87
Aug 06 2016 04:58
Agreed with sloth. I don't mind the returned format but I did notice it and maybe better for consistency to retain leading zeros
Juan Blanco
@juanfranblanco
Aug 06 2016 05:43
Please add an issue :)
slothbag
@slothbag
Aug 06 2016 05:43
Will do
Juan Blanco
@juanfranblanco
Aug 06 2016 05:44
Is this an issue just with Solidity or RPC hex types
In abi, is due to the big , little Indian conversion