DA0-DA0 / polytone

An account on every blockchain for every smart contract.
42 stars 5 forks source link

Fix channel closure and account tracking in callback package. #46

Closed 0xekez closed 1 year ago

0xekez commented 1 year ago

Before this change:

  1. The account map wasn't populated if no callback was requested during execution.
  2. Sequence number wasn't namespaced by channel_id, which would cause incorrect callbacks to be sent in the event of a channel closing.