|
@ -19,8 +19,7 @@ func InitChain(client abcicli.Client) error { |
|
|
vals[i] = types.Ed25519Validator(pubkey, int64(power)) |
|
|
vals[i] = types.Ed25519Validator(pubkey, int64(power)) |
|
|
} |
|
|
} |
|
|
_, err := client.InitChainSync(types.RequestInitChain{ |
|
|
_, err := client.InitChainSync(types.RequestInitChain{ |
|
|
Validators: vals, |
|
|
|
|
|
GenesisFile: types.GenesisFile{}, |
|
|
|
|
|
|
|
|
Validators: vals, |
|
|
}) |
|
|
}) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
fmt.Printf("Failed test: InitChain - %v\n", err) |
|
|
fmt.Printf("Failed test: InitChain - %v\n", err) |
|
|