Fixed padLeft for iban addresses.

This commit is contained in:
Richard Moore 2016-03-23 21:30:30 -04:00
parent 3ba32a6734
commit dc9da1a385
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ var BigNumber = require('bignumber.js');
var padLeft = function (string, bytes) {
var result = string;
while (result.length < bytes * 2) {
result = '00' + result;
result = '0' + result;
}
return result;
};