Skip to content

Commit 209aab2

Browse files
committed
remove default parameters
1 parent fa762bc commit 209aab2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

actor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default class Actor {
88
}
99
}
1010

11-
registerType(Actor, ['chainId', 'app', 'address']);
11+
registerType(Actor, ['chainId', 'app', 'address'], 0x00);

modules/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export class Signed {
77
}
88
}
99

10-
registerType(Signed, ['sig', 'pubkey']);
10+
registerType(Signed, ['sig', 'pubkey'], 0x00);
1111

1212
export class OneSigTx {
1313
constructor(tx, signed) {

wire.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const unexportedType = 0x00;
44

55
const typeRegistry = new Map();
66

7-
export function registerType(type, fields, id = unexportedType) {
7+
export function registerType(type, fields, id) {
88
typeRegistry.set(type, {'id': id, 'fields': fields});
99
}
1010

0 commit comments

Comments
 (0)