Fix bug in checking base frame in fee sharing
Apply fee sharing proportion on the first frame(ID=2) not in
the first execution.
@@ -519,7 +519,7 @@ func (cc *callContext) SetFeeProportion(addr module.Address, portion int) {
cc.lock.Lock()
defer cc.lock.Unlock()
- if cc.frame.eid == initialEID {
+ if cc.frame.fid == firstFID {
if portion == 0 {
cc.payers = nil
} else {
