Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction getKey is always null #1248

Open
jolestar opened this issue Jan 3, 2019 · 0 comments
Open

Transaction getKey is always null #1248

jolestar opened this issue Jan 3, 2019 · 0 comments

Comments

@jolestar
Copy link

jolestar commented Jan 3, 2019

@Test
    public void testGetKeyFromSignature() {
        ECKey sender = new ECKey();
        BlockchainImpl blockchain = ImportLightTest.createBlockchain(GenesisLoader.loadGenesis(
                getClass().getResourceAsStream("/genesis/genesis-light.json")));
        Transaction tx = createTx(blockchain, sender, new byte[32], new byte[0], 100);
        Assert.assertNotNull(tx.getKey());
    }

tx.getKey() is always null.

jolestar added a commit to jolestar/ethereumj that referenced this issue Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant