fixes for develop+permissions merge

This commit is contained in:
Jae Kwon
2015-07-07 14:17:20 -07:00
parent 625c72a110
commit 21295f4ae2
6 changed files with 19 additions and 7 deletions

View File

@ -478,7 +478,7 @@ func TestCreatePermission(t *testing.T) {
t.Fatal("Transaction failed", err)
}
// ensure the contract is there
contractAddr := NewContractAddress(tx.Input.Address, uint64(tx.Input.Sequence))
contractAddr := NewContractAddress(tx.Input.Address, tx.Input.Sequence)
contractAcc := blockCache.GetAccount(contractAddr)
if contractAcc == nil {
t.Fatalf("failed to create contract %X", contractAddr)
@ -503,7 +503,7 @@ func TestCreatePermission(t *testing.T) {
t.Fatal("Transaction failed", err)
}
// ensure the contract is there
contractAddr = NewContractAddress(tx.Input.Address, uint64(tx.Input.Sequence))
contractAddr = NewContractAddress(tx.Input.Address, tx.Input.Sequence)
contractAcc = blockCache.GetAccount(contractAddr)
if contractAcc == nil {
t.Fatalf("failed to create contract %X", contractAddr)