aboutsummaryrefslogtreecommitdiffstats
path: root/common/registrar/registrar_test.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-07-07 13:00:58 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-07 17:30:55 +0800
commitc5cb6e8e70339b6641b7ce46cda04b83936213b3 (patch)
tree6ab24e55a8b4bd14b3a9c25917d440c03b875bfc /common/registrar/registrar_test.go
parent3791831081eb2d6e0dbfb3aa96f181dbb645c394 (diff)
downloaddexon-c5cb6e8e70339b6641b7ce46cda04b83936213b3.tar
dexon-c5cb6e8e70339b6641b7ce46cda04b83936213b3.tar.gz
dexon-c5cb6e8e70339b6641b7ce46cda04b83936213b3.tar.bz2
dexon-c5cb6e8e70339b6641b7ce46cda04b83936213b3.tar.lz
dexon-c5cb6e8e70339b6641b7ce46cda04b83936213b3.tar.xz
dexon-c5cb6e8e70339b6641b7ce46cda04b83936213b3.tar.zst
dexon-c5cb6e8e70339b6641b7ce46cda04b83936213b3.zip
fix/skip tests, adapt registrar to no contract address
registry initialisers now return the txhash which caller can use to retrieve receipt
Diffstat (limited to 'common/registrar/registrar_test.go')
-rw-r--r--common/registrar/registrar_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/registrar/registrar_test.go b/common/registrar/registrar_test.go
index 5612e691c..7561e424e 100644
--- a/common/registrar/registrar_test.go
+++ b/common/registrar/registrar_test.go
@@ -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)
}