chronicled / open-registry-sdk

Apache License 2.0
30 stars 17 forks source link

oc-CHRON-4048 -- fix web3 transactions #38

Closed orlandoc01 closed 7 years ago

orlandoc01 commented 7 years ago

A previous update that I performed had rearranged the sub-provider injection (which function like middleware when sending ethereum transaction) in such a way that transactions were NOT being signed BEFORE being sent to the Quorum/Ethereum RPC Node. This update fixes that by injecting the RPC Subprovider last, so the signing middleware provided by the HookedWallet Subprovider correctly signs the data in the transaction before sending it to the RPC.