(count: number)
| 60 | // Encode a push count using the smallest possible push encoding. |
| 61 | // libauth's encodeDataPush minimally encodes VM Numbers in the -1..16 range as OP_N. |
| 62 | function encodePushCount(count: number): Uint8Array { |
| 63 | return encodeDataPush(encodeInt(BigInt(count))); |
| 64 | } |
no test coverage detected