plugeth/accounts
Jeffrey Wilcke 91a7a4a786 accounts/abi: fixed unpacking in to already slice interfaces
Previously it was assumed that wheneven type `[]interface{}` was given
that the interface was empty. The abigen rightfully assumed that
interface slices which already have pre-allocated variable sets to be
assigned.

This PR fixes that by checking that the given `[]interface{}` is larger
than zero and assigns each value using the generic `set` function (this
function has also been moved to abi/reflect.go) and checks whether the
assignment was possible.

The generic assignment function `set` now also deals with pointers
(useful for interface slice mentioned above) by dereferencing the
pointer until it finds a setable type.
2016-05-11 13:36:27 +02:00
..
abi accounts/abi: fixed unpacking in to already slice interfaces 2016-05-11 13:36:27 +02:00
testdata cmd/geth: add recovery procedure for AmbiguousAddrError 2016-04-12 15:59:18 +02:00
account_manager.go eth: add personal_importRawKey for runtime private key import 2016-04-28 09:11:40 -06:00
accounts_test.go accounts: ensure TimedUnlock does not override indefinite unlock timeout 2016-04-12 15:59:18 +02:00
addrcache_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
addrcache.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_passphrase_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_passphrase.go accounts: add ErrDecrypt 2016-04-12 15:58:07 +02:00
key_store_plain.go all: update license information 2016-04-15 09:48:05 +02:00
key_store_test.go accounts: add ErrDecrypt 2016-04-12 15:58:07 +02:00
key.go accounts: improve API and add documentation 2016-04-12 15:59:18 +02:00
presale.go accounts: add ErrDecrypt 2016-04-12 15:58:07 +02:00
watch_fallback.go accounts: disable file system watch on linux/arm64 2016-04-25 13:30:28 +02:00
watch.go accounts: disable file system watch on linux/arm64 2016-04-25 13:30:28 +02:00