Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant