perun-network / erdstall-ts-sdk

TypeScript client SDK to interact with Erdstall.
Apache License 2.0
5 stars 2 forks source link

transactions/trade: Change `**` logic to equivalent `<<` logic #49

Closed ndzik closed 3 years ago

ndzik commented 3 years ago

There is a problem in production, where trying to take the power of a bigint with another bigints just fails with the message:

Error: Could not convert BigInt to Number.

This is a workaround for this issue.