tss-lib icon indicating copy to clipboard operation
tss-lib copied to clipboard

combine mta.BobMid and mta.BobMidWC

Open 0xmountaintop opened this issue 5 years ago • 1 comments
trafficstars

mta.BobMid and mta.BobMidWC share a couple of lines of codes, I guess we can actually combine them?

i.e. https://github.com/binance-chain/tss-lib/blob/e860e36eaaa63afcaf1e5a0ed79b6f56362e88c8/crypto/mta/share_protocol.go#L36-L54

and https://github.com/binance-chain/tss-lib/blob/e860e36eaaa63afcaf1e5a0ed79b6f56362e88c8/crypto/mta/share_protocol.go#L65-L83

0xmountaintop avatar Nov 04 '20 02:11 0xmountaintop

This is also claimed in the paper.

p8 image

0xmountaintop avatar Nov 04 '20 02:11 0xmountaintop