virtualeconomy / js-v-sdk

[DEPRECATED and please use https://github.com/virtualeconomy/js-vsys instead] Java Script library for V Systems
https://www.npmjs.com/package/@virtualeconomy/js-v-sdk
MIT License
10 stars 5 forks source link

Update contract.js to match #62

Closed faddat closed 3 years ago

faddat commented 3 years ago

If this is not a correction, please disregard and explain how it should work.

I believe that the js lib has always mis-referred to the payment channel contract.

https://github.com/virtualeconomy/v-systems/blob/70020bef1569026470df29be0d06cc220eb93415/src/main/scala/vsys/api/http/contract/ContractApiRoute.scala

https://github.com/virtualeconomy/v-systems/blob/abe8a2b26c77ebc731463647f5498888e5d5d709/src/test/scala/vsys/blockchain/state/contract/channel/RegisterPaymentChannelContractDiffTest.scala#L53

https://github.com/virtualeconomy/v-systems/blob/abe8a2b26c77ebc731463647f5498888e5d5d709/src/test/scala/vsys/blockchain/state/contract/channel/RegisterPaymentChannelContractDiffTest.scala#L12

faddat commented 3 years ago

I guess that this matches up inside the js?