[wip] code cleanups
This commit is contained in:
@@ -8,6 +8,7 @@ import * as rlp from './jex_include/local-vanillae-0.1.0/dist/rlp.js';
|
||||
import * as ser from './jex_include/local-vanillae-0.1.0/dist/ser.js';
|
||||
|
||||
|
||||
// TODO: move this to rlp library
|
||||
function deepeq(dd1: rlp.decoded_data, dd2: rlp.decoded_data): boolean {
|
||||
// if both are Uint8Arrays
|
||||
if ((dd1 instanceof Uint8Array) && (dd2 instanceof Uint8Array)) {
|
||||
@@ -219,4 +220,5 @@ function main(): void {
|
||||
|
||||
document.getElementById('tx-go')!.onclick = tx_tests;
|
||||
}
|
||||
|
||||
main();
|
||||
|
||||
Reference in New Issue
Block a user