SetLastBillingHeight sets the last billing height of this chain instance.
(h int32)
| 1181 | |
| 1182 | // SetLastBillingHeight sets the last billing height of this chain instance. |
| 1183 | func (c *Chain) SetLastBillingHeight(h int32) { |
| 1184 | c.logEntryWithHeadState().WithFields( |
| 1185 | log.Fields{"new_height": h}).Debug("set last billing height") |
| 1186 | c.rt.setLastBillingHeight(h) |
| 1187 | } |
| 1188 | |
| 1189 | func (c *Chain) logEntry() *log.Entry { |
| 1190 | return log.WithFields(log.Fields{ |
no test coverage detected