corresponding changes from cpp-ethereum