I have a function inside my smart contract that fetches the timestamp of the block it's in:
function getTime() public returns (uint256 time){
return block.timestamp;;
}
According to how I understand timestamps, this should return one value. Yet when I deploy the contract and test that method it returns two values:
truffle(development)> contract.getTime.call({from: accounts[1]})
BN {
negative: 0,
words: [ 41810542, 23, <1 empty item> ],
length: 2,
red: null
}
Why is this happening/ what do the two values represent if only one of them is the timestamp?