forked from TrueCloudLab/neoneo-go
contracttest: fix err checking branch
This commit is contained in:
parent
fe39c565b9
commit
05ea84454c
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func TestCreateMultiSigRedeemScript(t *testing.T) {
|
|||
|
||||
for i := 0; i < len(validators); i++ {
|
||||
bb := br.ReadBytes()
|
||||
if err != nil {
|
||||
if br.Err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
assert.Equal(t, validators[i].Bytes(), bb)
|
||||
|
|
Loading…
Reference in a new issue