Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Remove the timestamp from subproviders CHANGELOG.json (should be auto…
Browse files Browse the repository at this point in the history
…matically added) and run 'yarn prettier' to format changes.
  • Loading branch information
bstchow committed Jul 16, 2019
1 parent 6e0f982 commit aff8e1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/subproviders/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"note": "Fix bug in Private Key subprovider causing checksummed tx.origin addresses to be rejected.",
"pr": 1962
}
],
"timestamp": 1563240294
]
},
{
"version": "4.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ describe('PrivateKeyWalletSubprovider', () => {
expect(txHex).to.be.equal(fixtureData.TX_DATA_SIGNED_RESULT);
});
it('signs a transaction where the tx.origin is checksummed.', async () => {
const TX_DATA_CHECKSUMMED_ORIGIN = { ...fixtureData.TX_DATA, from: fixtureData.TEST_RPC_ACCOUNT_0_CHECKSUMMED };
const TX_DATA_CHECKSUMMED_ORIGIN = {
...fixtureData.TX_DATA,
from: fixtureData.TEST_RPC_ACCOUNT_0_CHECKSUMMED,
};
const txHex = await subprovider.signTransactionAsync(TX_DATA_CHECKSUMMED_ORIGIN);
expect(txHex).to.be.equal(fixtureData.TX_DATA_SIGNED_RESULT);
});
Expand Down

0 comments on commit aff8e1e

Please sign in to comment.