This commit is contained in:
romanman 2014-05-21 19:42:23 +03:00
parent 46eab0c807
commit d495f1e992
1 changed files with 3 additions and 1 deletions

View File

@ -152,9 +152,11 @@ public class TransactionTest {
@Test @Test
public void testTransactionFromRLP2() { public void testTransactionFromRLP2() {
byte[] encodedTxBytes = Hex.decode("f86e808609184e72a0008242559479b08ad8787060333663d19704909ee7b1903e58893635c9adc5dea00000801ba0e01349f939f41f7262e823b1ccd7306ec32b5cab6a4f539849a38b0637aee9cda0079bf1cf8dfcb1ddefa6336de34eefeebfd796afc25568a2b875fc4ff0c044c3"); byte[] encodedTxBytes = Hex.decode("f86f81018609184e72a0008242559479b08ad8787060333663d19704909ee7b1903e58893635c9adc5dea00000801ba056f49cb76f7daadd0e7eb523a8c942a2b510f450185c93a3e2e51a749642f0efa03374f71fa8855212d8c369be6ced2801a8a7b6d7cea3a578623ad34feceef12f");
Transaction tx = new Transaction(encodedTxBytes); Transaction tx = new Transaction(encodedTxBytes);
System.out.println(Hex.toHexString( tx.sender() )); System.out.println(Hex.toHexString( tx.sender() ));
System.out.println(Hex.toHexString( tx.getHash() ));
System.out.println(Hex.toHexString( tx.getEncoded() ));
} }