You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
channelInfo's fields are different from the obd.
when obd commits channelInfo to a tracker, now we have the code to convert:
//infoRequest is the data submit to trackerinfoRequest.PeerIdA=channelInfo.PeerIdAinfoRequest.PeerIdB=channelInfo.PeerIdBinfoRequest.IsAlice=falseifcommitmentTx.Id>0 {
ifcommitmentTx.Owner==channelInfo.PeerIdA {
infoRequest.IsAlice=trueinfoRequest.AmountA=commitmentTx.AmountToRSMCinfoRequest.AmountB=commitmentTx.AmountToCounterparty
} else {
infoRequest.AmountB=commitmentTx.AmountToRSMCinfoRequest.AmountA=commitmentTx.AmountToCounterparty
}
}
We should modify channelInfo's fields to be the same as the tracker. It will be easy when updates the sync mode between the obd and tracker.
channelInfo.IsAlice should be a function, it's a computed field. For example:
This issue is the tenth bug in issue 53: #53
when obd commits channelInfo to a tracker, now we have the code to convert:
We should modify channelInfo's fields to be the same as the tracker. It will be easy when updates the sync mode between the obd and tracker.
channelInfo.IsAlice should be a function, it's a computed field. For example:
The text was updated successfully, but these errors were encountered: