fix/skip tests, adapt registrar to no contract address

registry initialisers now return the txhash which caller can use to retrieve receipt
This commit is contained in:
zelig
2015-07-07 06:00:58 +01:00
committed by Jeffrey Wilcke
parent 3791831081
commit c5cb6e8e70
5 changed files with 42 additions and 30 deletions

View File

@ -59,7 +59,7 @@ func (self *testBackend) Call(fromStr, toStr, valueStr, gasStr, gasPriceStr, cod
func TestSetGlobalRegistrar(t *testing.T) {
b := NewTestBackend()
res := New(b)
err := res.SetGlobalRegistrar("addresshex", common.BigToAddress(common.Big1))
_, err := res.SetGlobalRegistrar("addresshex", common.BigToAddress(common.Big1))
if err != nil {
t.Errorf("unexpected error: %v'", err)
}