fix error in versioned data

This commit is contained in:
Matias Alejo Garcia 2014-03-05 17:37:16 -03:00
parent 6d9a396d89
commit c05181e412
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ var imports = require('soop').imports();
var base58 = imports.base58 || require('base58-native').base58Check;
var parent = imports.parent || require('./EncodedData');
function VersionedData(version, payload) {
if(typeof version != 'number') {
VersionedData.super(this, arguments);